From d3723c7ef921cd553b3f70303418517c1b04305a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 15 Dec 2020 21:31:24 +0100 Subject: Suppress new clang-tidy warnings --- include/.clang-tidy | 1 + src/.clang-tidy | 7 ++++++- test/.clang-tidy | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1