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 <sean.robinson@scottsdalecc.edu>
This commit is contained in:
Sean Robinson 2022-02-07 14:29:32 -07:00
parent d0a492ccba
commit 6564839971

View File

@ -3,7 +3,6 @@ Checks:
clang-analyzer-*,
cppcoreguidelines-special-member-functions,
readability-*,
-readability-function-cognitive-complexity,
CheckOptions:
- { key: readability-identifier-naming.ClassCase, value: CamelCase }