summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-01-19 09:24:39 -0500
committerDavid Robillard <d@drobilla.net>2025-01-19 19:34:38 -0500
commite37f70b72357dc01d24118746d2a0656fc90fb17 (patch)
tree1a011673c5907787810984f3a0ce12272b301f7d /src
parente792b20f6f150717bff92f1aea2c02459351766f (diff)
downloadsratom-e37f70b72357dc01d24118746d2a0656fc90fb17.tar.gz
sratom-e37f70b72357dc01d24118746d2a0656fc90fb17.tar.bz2
sratom-e37f70b72357dc01d24118746d2a0656fc90fb17.zip
Strengthen clang-tidy configuration
Diffstat (limited to 'src')
-rw-r--r--src/.clang-tidy6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index ed1198d..2967334 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -2,7 +2,6 @@
# SPDX-License-Identifier: 0BSD OR ISC
Checks: >
- -*-macro-to-enum,
-*-magic-numbers,
-*-narrowing-conversions,
-bugprone-easily-swappable-parameters,
@@ -11,8 +10,9 @@ Checks: >
-clang-analyzer-unix.Malloc,
-hicpp-signed-bitwise,
-misc-no-recursion,
- -performance-no-int-to-ptr,
- -readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-redundant-casting,
+CheckOptions:
+ - key: readability-function-cognitive-complexity.Threshold
+ value: '75'
InheritParentConfig: true