summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-17 10:24:51 -0400
committerDavid Robillard <d@drobilla.net>2024-07-17 10:24:51 -0400
commit59bcfaafcad0f3d85d33fadf21d4d0a2e6575a64 (patch)
treec286d8502bb4cdd9db0f83eb3970a2351abde6bb /.clang-tidy
parent4d2e04dbcabd0b5d715ea7eeeb909f4088055763 (diff)
downloadganv-59bcfaafcad0f3d85d33fadf21d4d0a2e6575a64.tar.gz
ganv-59bcfaafcad0f3d85d33fadf21d4d0a2e6575a64.tar.bz2
ganv-59bcfaafcad0f3d85d33fadf21d4d0a2e6575a64.zip
Suppress new warnings in clang and clang-tidy 18
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy8
1 files changed, 7 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy
index c6b7e25..ff7e030 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -4,6 +4,7 @@ Checks: >
-*-avoid-goto,
-*-braces-around-statements,
-*-else-after-return,
+ -*-macro-to-enum,
-*-magic-numbers,
-*-member-init,
-*-named-parameter,
@@ -16,10 +17,12 @@ Checks: >
-altera-*,
-android-cloexec-fopen,
-bugprone-branch-clone,
+ -bugprone-casting-through-void,
-bugprone-easily-swappable-parameters,
-bugprone-incorrect-roundings,
-bugprone-integer-division,
-bugprone-macro-parentheses,
+ -bugprone-multi-level-implicit-pointer-conversion,
-bugprone-reserved-identifier,
-cert-dcl21-cpp,
-cert-dcl37-c,
@@ -31,6 +34,7 @@ Checks: >
-cert-msc50-cpp,
-cert-msc51-cpp,
-clang-analyzer-cplusplus.NewDeleteLeaks,
+ -clang-analyzer-optin.core.EnumCastOutOfRange,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-clang-analyzer-unix.Malloc,
-concurrency-mt-unsafe,
@@ -63,10 +67,10 @@ Checks: >
-misc-non-private-member-variables-in-classes,
-misc-use-anonymous-namespace,
-modernize-loop-convert,
- -modernize-macro-to-enum,
-modernize-raw-string-literal,
-modernize-use-trailing-return-type,
-modernize-use-using,
+ -performance-enum-size,
-performance-faster-string-find,
-readability-const-return-type,
-readability-container-size-empty,
@@ -75,6 +79,8 @@ Checks: >
-readability-implicit-bool-conversion,
-readability-inconsistent-declaration-parameter-name,
-readability-make-member-function-const,
+ -readability-redundant-casting,
+ -readability-redundant-inline-specifier,
-readability-simplify-boolean-expr,
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'