aboutsummaryrefslogtreecommitdiffstats
path: root/src/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'src/.clang-tidy')
-rw-r--r--src/.clang-tidy6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 52862fe4..18cba92e 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -2,9 +2,13 @@
# SPDX-License-Identifier: 0BSD OR ISC
Checks: >
+ -*-macro-to-enum,
-*-magic-numbers,
-bugprone-easily-swappable-parameters,
+ -bugprone-inc-dec-in-conditions,
+ -bugprone-multi-level-implicit-pointer-conversion,
-cert-err33-c,
+ -clang-analyzer-optin.core.EnumCastOutOfRange,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-concurrency-mt-unsafe,
-google-readability-todo,
@@ -12,7 +16,7 @@ Checks: >
-hicpp-signed-bitwise,
-llvm-header-guard,
-misc-no-recursion,
- -modernize-macro-to-enum,
+ -readability-avoid-nested-conditional-operator,
CheckOptions:
- key: readability-function-cognitive-complexity.IgnoreMacros
value: 'true'