From: Fred Morcos Date: Tue, 2 May 2023 12:41:17 +0000 (+0200) Subject: Ignore macros when calculating cognitive complexity of functions X-Git-Tag: auth-4.8.0~15^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df640ba37837e44fc4c3610391c798ea8eab77c6;p=thirdparty%2Fpdns.git Ignore macros when calculating cognitive complexity of functions --- diff --git a/.clang-tidy.full b/.clang-tidy.full index e37dd0e627..7f1aae9c46 100644 --- a/.clang-tidy.full +++ b/.clang-tidy.full @@ -253,7 +253,7 @@ CheckOptions: - key: modernize-pass-by-value.ValuesOnly value: 'false' - key: readability-function-cognitive-complexity.IgnoreMacros - value: 'false' + value: 'true' - key: modernize-loop-convert.IncludeStyle value: llvm - key: cert-str34-c.DiagnoseSignedUnsignedCharComparisons