aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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