summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-16 22:12:32 -0400
committerDavid Robillard <d@drobilla.net>2024-07-16 22:12:32 -0400
commit7d98c65702a2f835acb7e4387b08cfdaa6ed0b8a (patch)
tree23cd9df90037f4179af5aa37a6516564c022e095 /.clang-tidy
parent35b1b1f166c2f29a8c2affb48be017e61c6ee0a1 (diff)
downloadsord-7d98c65702a2f835acb7e4387b08cfdaa6ed0b8a.tar.gz
sord-7d98c65702a2f835acb7e4387b08cfdaa6ed0b8a.tar.bz2
sord-7d98c65702a2f835acb7e4387b08cfdaa6ed0b8a.zip
Suppress new warnings in clang and clang-tidy 18
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy5
1 files changed, 4 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 5b9d54d..b281245 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -4,6 +4,7 @@
Checks: >
*,
-*-else-after-return,
+ -*-macro-to-enum,
-*-magic-numbers,
-*-non-private-member-variables-in-classes,
-*-static-assert,
@@ -19,6 +20,7 @@ Checks: >
-bugprone-branch-clone,
-bugprone-copy-constructor-init,
-bugprone-easily-swappable-parameters,
+ -bugprone-multi-level-implicit-pointer-conversion,
-bugprone-narrowing-conversions,
-bugprone-reserved-identifier,
-bugprone-suspicious-include,
@@ -29,6 +31,7 @@ Checks: >
-cert-err33-c,
-cert-err34-c,
-clang-analyzer-core.uninitialized.ArraySubscript,
+ -clang-analyzer-optin.core.EnumCastOutOfRange,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-clang-analyzer-valist.Uninitialized,
-cppcoreguidelines-avoid-non-const-global-variables,
@@ -56,13 +59,13 @@ Checks: >
-misc-include-cleaner,
-misc-no-recursion,
-misc-unused-parameters,
- -modernize-macro-to-enum,
-modernize-return-braced-init-list,
-modernize-use-default-member-init,
-modernize-use-trailing-return-type,
-performance-faster-string-find,
-performance-noexcept-move-constructor,
-performance-unnecessary-value-param,
+ -readability-avoid-nested-conditional-operator,
-readability-const-return-type,
-readability-function-cognitive-complexity,
-readability-identifier-length,