aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/.clang-tidy1
-rw-r--r--src/.clang-tidy7
-rw-r--r--test/.clang-tidy3
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