summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy3
-rw-r--r--src/.clang-tidy2
-rw-r--r--test/.clang-tidy2
-rw-r--r--tools/.clang-tidy3
4 files changed, 6 insertions, 4 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 333f376..a05eaf9 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -7,7 +7,10 @@ Checks: >
-altera-*,
-bugprone-easily-swappable-parameters,
-bugprone-macro-parentheses,
+ -clang-diagnostic-unused-function,
+ -clang-diagnostic-unused-macros,
-llvmlibc-*,
+ -readability-identifier-length,
CheckOptions:
- key: hicpp-uppercase-literal-suffix.NewSuffixes
value: 'L;U;UL;ULL'
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 12ca76c..8d229b6 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -14,7 +14,7 @@ Checks: >
-google-readability-todo,
-hicpp-multiway-paths-covered,
-hicpp-signed-bitwise,
+ -llvm-header-guard,
-readability-function-cognitive-complexity,
- -readability-identifier-length,
-readability-suspicious-call-argument,
InheritParentConfig: true
diff --git a/test/.clang-tidy b/test/.clang-tidy
index aab3384..f6f74ab 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -13,7 +13,7 @@ Checks: >
-cppcoreguidelines-narrowing-conversions,
-hicpp-multiway-paths-covered,
-hicpp-signed-bitwise,
+ -llvm-header-guard,
-readability-function-cognitive-complexity,
- -readability-identifier-length,
-readability-suspicious-call-argument,
InheritParentConfig: true
diff --git a/tools/.clang-tidy b/tools/.clang-tidy
index b258816..d8434e2 100644
--- a/tools/.clang-tidy
+++ b/tools/.clang-tidy
@@ -4,14 +4,13 @@
Checks: >
-*-magic-numbers,
-android-cloexec-fopen,
- -bugprone-easily-swappable-parameters,
-bugprone-narrowing-conversions,
-cert-err33-c,
-cert-err34-c,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-narrowing-conversions,
-hicpp-signed-bitwise,
+ -llvm-header-guard,
-misc-no-recursion,
-readability-function-cognitive-complexity,
- -readability-identifier-length,
InheritParentConfig: true