aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-07-08 10:21:04 -0400
committerDavid Robillard <d@drobilla.net>2021-07-08 10:26:52 -0400
commitf5db9df45d01a6cc8e47ea938a8a38f960e5d1ef (patch)
tree42ac57574649cc767f369076348f873f091eafc6
parentfd1766701adda261199682adf0c9ec5b8d106485 (diff)
downloadserd-f5db9df45d01a6cc8e47ea938a8a38f960e5d1ef.tar.gz
serd-f5db9df45d01a6cc8e47ea938a8a38f960e5d1ef.tar.bz2
serd-f5db9df45d01a6cc8e47ea938a8a38f960e5d1ef.zip
Suppress new warnings in clang-tidy 12
-rw-r--r--src/.clang-tidy3
-rw-r--r--test/.clang-tidy2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 79f266d9..c658ae96 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -2,18 +2,21 @@ Checks: >
*,
-*-magic-numbers,
-*-uppercase-literal-suffix,
+ -altera-struct-pack-align,
-bugprone-branch-clone,
-bugprone-reserved-identifier,
-bugprone-suspicious-string-compare,
-cert-dcl37-c,
-cert-dcl51-cpp,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
+ -concurrency-mt-unsafe,
-google-readability-todo,
-hicpp-multiway-paths-covered,
-hicpp-signed-bitwise,
-llvm-header-guard,
-llvmlibc-*,
-misc-no-recursion,
+ -readability-function-cognitive-complexity,
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
FormatStyle: file
diff --git a/test/.clang-tidy b/test/.clang-tidy
index de654d8d..0085ddb0 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -2,6 +2,7 @@ Checks: >
*,
-*-magic-numbers,
-*-uppercase-literal-suffix,
+ -altera-struct-pack-align,
-android-cloexec-fopen,
-clang-analyzer-nullability.NullabilityBase,
-clang-analyzer-nullability.NullableDereferenced,
@@ -9,6 +10,7 @@ Checks: >
-cppcoreguidelines-avoid-non-const-global-variables,
-hicpp-signed-bitwise,
-llvmlibc-*,
+ -readability-function-cognitive-complexity,
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
FormatStyle: file