]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Ignore macros when calculating cognitive complexity of functions
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 2 May 2023 12:41:17 +0000 (14:41 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Tue, 2 May 2023 12:41:17 +0000 (14:41 +0200)
.clang-tidy.full

index e37dd0e627c5005248018f64f33aac84ea0d7a0d..7f1aae9c4613bca61b1fb9749dab0306cacf4c25 100644 (file)
@@ -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