From 65648399715efa449746bd016d9b047c260ed648 Mon Sep 17 00:00:00 2001 From: Sean Robinson Date: Mon, 7 Feb 2022 14:29:32 -0700 Subject: [PATCH] Enable clang-tidy readability-function-cognitive-complexity check The two functions previously flagged by this check, Argument::is_decimal_literal and Argument::validate, fell below the default Cognitive Complexity threshold as a result of the branch simplification for the readability-else-after-return check. Signed-off-by: Sean Robinson --- .clang-tidy | 1 - 1 file changed, 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index 62c77f1..1920dcf 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -3,7 +3,6 @@ Checks: clang-analyzer-*, cppcoreguidelines-special-member-functions, readability-*, - -readability-function-cognitive-complexity, CheckOptions: - { key: readability-identifier-naming.ClassCase, value: CamelCase }