aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/.clang-tidy8
-rw-r--r--test/.clang-tidy6
2 files changed, 10 insertions, 4 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index ea728e33..52862fe4 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -6,8 +6,6 @@ Checks: >
-bugprone-easily-swappable-parameters,
-cert-err33-c,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
- -clang-analyzer-valist.Uninitialized,
- -clang-diagnostic-unused-function,
-concurrency-mt-unsafe,
-google-readability-todo,
-hicpp-multiway-paths-covered,
@@ -15,5 +13,9 @@ Checks: >
-llvm-header-guard,
-misc-no-recursion,
-modernize-macro-to-enum,
- -readability-function-cognitive-complexity,
+CheckOptions:
+ - key: readability-function-cognitive-complexity.IgnoreMacros
+ value: 'true'
+ - key: readability-function-cognitive-complexity.Threshold
+ value: '91'
InheritParentConfig: true
diff --git a/test/.clang-tidy b/test/.clang-tidy
index 75f5312d..457abcaf 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -11,5 +11,9 @@ Checks: >
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-concurrency-mt-unsafe,
-hicpp-signed-bitwise,
- -readability-function-cognitive-complexity,
+CheckOptions:
+ - key: readability-function-cognitive-complexity.IgnoreMacros
+ value: 'true'
+ - key: readability-function-cognitive-complexity.Threshold
+ value: '6'
InheritParentConfig: true