diff options
author | David Robillard <d@drobilla.net> | 2020-12-15 21:31:24 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-15 21:33:38 +0100 |
commit | d3723c7ef921cd553b3f70303418517c1b04305a (patch) | |
tree | 53f7e9cb043ca0ea5b8b7e2ac84da8b4fc53159b | |
parent | ea5778afa33b094215c18dfb19ff3a38bb560c26 (diff) | |
download | serd-d3723c7ef921cd553b3f70303418517c1b04305a.tar.gz serd-d3723c7ef921cd553b3f70303418517c1b04305a.tar.bz2 serd-d3723c7ef921cd553b3f70303418517c1b04305a.zip |
Suppress new clang-tidy warnings
-rw-r--r-- | include/.clang-tidy | 1 | ||||
-rw-r--r-- | src/.clang-tidy | 7 | ||||
-rw-r--r-- | test/.clang-tidy | 3 |
3 files changed, 10 insertions, 1 deletions
diff --git a/include/.clang-tidy b/include/.clang-tidy index db89f1f9..cdc7548c 100644 --- a/include/.clang-tidy +++ b/include/.clang-tidy @@ -2,6 +2,7 @@ Checks: > *, -*-uppercase-literal-suffix, -clang-diagnostic-unused-macros, + -llvmlibc-*, WarningsAsErrors: '*' HeaderFilterRegex: '.*' FormatStyle: file diff --git a/src/.clang-tidy b/src/.clang-tidy index eb43dcf2..251c57b0 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -1,14 +1,19 @@ Checks: > *, + -*-else-after-return, -*-magic-numbers, -*-uppercase-literal-suffix, -bugprone-branch-clone, + -bugprone-reserved-identifier, -bugprone-suspicious-string-compare, + -cert-dcl37-c, + -cert-dcl51-cpp, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, -google-readability-todo, -hicpp-signed-bitwise, -llvm-header-guard, - -readability-else-after-return, + -llvmlibc-*, + -misc-no-recursion, WarningsAsErrors: '*' HeaderFilterRegex: '.*' FormatStyle: file diff --git a/test/.clang-tidy b/test/.clang-tidy index 88009c50..de654d8d 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -4,8 +4,11 @@ Checks: > -*-uppercase-literal-suffix, -android-cloexec-fopen, -clang-analyzer-nullability.NullabilityBase, + -clang-analyzer-nullability.NullableDereferenced, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, + -cppcoreguidelines-avoid-non-const-global-variables, -hicpp-signed-bitwise, + -llvmlibc-*, WarningsAsErrors: '*' HeaderFilterRegex: '.*' FormatStyle: file |