diff options
author | David Robillard <d@drobilla.net> | 2021-07-08 10:21:04 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-07-08 10:26:52 -0400 |
commit | f5db9df45d01a6cc8e47ea938a8a38f960e5d1ef (patch) | |
tree | 42ac57574649cc767f369076348f873f091eafc6 | |
parent | fd1766701adda261199682adf0c9ec5b8d106485 (diff) | |
download | serd-f5db9df45d01a6cc8e47ea938a8a38f960e5d1ef.tar.gz serd-f5db9df45d01a6cc8e47ea938a8a38f960e5d1ef.tar.bz2 serd-f5db9df45d01a6cc8e47ea938a8a38f960e5d1ef.zip |
Suppress new warnings in clang-tidy 12
-rw-r--r-- | src/.clang-tidy | 3 | ||||
-rw-r--r-- | test/.clang-tidy | 2 |
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 |