diff --git a/.clang-tidy b/.clang-tidy index 4542a6f93..25e1302cc 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -16,8 +16,9 @@ Checks: > performance-*, portability-*, readability-*, + -readability-function-cognitive-complexity, -readability-named-parameter, - -readability-uppercase-literal-suffix + -readability-uppercase-literal-suffix, CheckOptions: - key: cppcoreguidelines-avoid-magic-numbers.IgnoreAllFloatingPointValues value: true @@ -35,6 +36,8 @@ CheckOptions: value: true - key: modernize-avoid-c-arrays.AllowStringArrays value: true + - key: readability-function-cognitive-complexity.IgnoreMacros + value: true - key: readability-identifier-length.MinimumParameterNameLength value: 2 - key: readability-identifier-length.MinimumVariableNameLength