aboutsummaryrefslogtreecommitdiffstats
path: root/src/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-22 14:07:58 -0400
committerDavid Robillard <d@drobilla.net>2024-06-22 14:16:42 -0400
commitc611d43d2eafc033c8d68cb4762ea7a242bf1365 (patch)
treefd1d60b0b46a0ad9ad76d7dcd4fdea4ca5fba8cf /src/.clang-tidy
parent5d9addc9acc41890b34a2d53d1115394a0d145a5 (diff)
downloadserd-c611d43d2eafc033c8d68cb4762ea7a242bf1365.tar.gz
serd-c611d43d2eafc033c8d68cb4762ea7a242bf1365.tar.bz2
serd-c611d43d2eafc033c8d68cb4762ea7a242bf1365.zip
Strengthen clang-tidy configuration
Diffstat (limited to 'src/.clang-tidy')
-rw-r--r--src/.clang-tidy8
1 files changed, 5 insertions, 3 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