summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy (renamed from include/.clang-tidy)3
-rw-r--r--benchmark/.clang-tidy9
-rw-r--r--src/.clang-tidy9
-rw-r--r--test/.clang-tidy9
4 files changed, 4 insertions, 26 deletions
diff --git a/include/.clang-tidy b/.clang-tidy
index a644849..83963f8 100644
--- a/include/.clang-tidy
+++ b/.clang-tidy
@@ -4,10 +4,9 @@
Checks: >
*,
-altera-*,
- -clang-diagnostic-unused-function,
- -clang-diagnostic-unused-macros,
-hicpp-multiway-paths-covered,
-llvmlibc-*,
+ -readability-identifier-length,
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
FormatStyle: file
diff --git a/benchmark/.clang-tidy b/benchmark/.clang-tidy
index 8c2dca3..839ef3b 100644
--- a/benchmark/.clang-tidy
+++ b/benchmark/.clang-tidy
@@ -2,18 +2,11 @@
# SPDX-License-Identifier: CC0-1.0 OR ISC
Checks: >
- *,
-*-magic-numbers,
- -altera-*,
-android-cloexec-fopen,
-bugprone-easily-swappable-parameters,
-cert-err33-c,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
- -hicpp-multiway-paths-covered,
-llvm-header-guard,
- -llvmlibc-*,
-performance-no-int-to-ptr,
- -readability-identifier-length,
-WarningsAsErrors: '*'
-HeaderFilterRegex: '.*'
-FormatStyle: file
+InheritParentConfig: true
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 4bacd45..2f273ed 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -2,17 +2,10 @@
# SPDX-License-Identifier: CC0-1.0 OR ISC
Checks: >
- *,
-*-magic-numbers,
- -altera-*,
-bugprone-easily-swappable-parameters,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
- -hicpp-multiway-paths-covered,
-llvm-header-guard,
- -llvmlibc-*,
-misc-no-recursion,
-readability-function-cognitive-complexity,
- -readability-identifier-length,
-WarningsAsErrors: '*'
-HeaderFilterRegex: '.*'
-FormatStyle: file
+InheritParentConfig: true
diff --git a/test/.clang-tidy b/test/.clang-tidy
index fcaf19b..4ce2491 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -2,20 +2,13 @@
# SPDX-License-Identifier: CC0-1.0 OR ISC
Checks: >
- *,
-*-magic-numbers,
- -altera-*,
-bugprone-easily-swappable-parameters,
-cert-err33-c,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-cppcoreguidelines-avoid-non-const-global-variables,
-google-readability-casting,
- -hicpp-multiway-paths-covered,
-llvm-header-guard,
- -llvmlibc-*,
-performance-no-int-to-ptr,
-readability-function-cognitive-complexity,
- -readability-identifier-length,
-WarningsAsErrors: '*'
-HeaderFilterRegex: '.*'
-FormatStyle: file
+InheritParentConfig: true