aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy7
-rw-r--r--plugins/.clang-tidy4
-rw-r--r--test/.clang-tidy8
3 files changed, 11 insertions, 8 deletions
diff --git a/.clang-tidy b/.clang-tidy
index a94c72f..121e2ca 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -3,9 +3,16 @@
Checks: >
*,
+ -*-magic-numbers,
-altera-*,
+ -bugprone-easily-swappable-parameters,
+ -bugprone-macro-parentheses,
+ -clang-diagnostic-unused-function,
+ -clang-diagnostic-unused-macros,
-llvm-header-guard,
-llvmlibc-restrict-system-libc-headers,
+ -performance-no-int-to-ptr,
+ -readability-identifier-length,
CheckOptions:
- key: hicpp-uppercase-literal-suffix.NewSuffixes
value: L;U;f
diff --git a/plugins/.clang-tidy b/plugins/.clang-tidy
index c75c335..1f396e5 100644
--- a/plugins/.clang-tidy
+++ b/plugins/.clang-tidy
@@ -2,14 +2,10 @@
# SPDX-License-Identifier: 0BSD OR ISC
Checks: >
- -*-magic-numbers,
-*-narrowing-conversions,
-bugprone-easily-swappable-parameters,
- -bugprone-macro-parentheses,
-cert-err33-c,
-hicpp-signed-bitwise,
-misc-unused-parameters,
- -performance-no-int-to-ptr,
-readability-function-cognitive-complexity,
- -readability-identifier-length,
InheritParentConfig: true
diff --git a/test/.clang-tidy b/test/.clang-tidy
index 1c1d56a..f6fe1d6 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -3,13 +3,13 @@
Checks: >
-*-else-after-return,
- -*-magic-numbers,
-bugprone-easily-swappable-parameters,
- -bugprone-macro-parentheses,
-bugprone-suspicious-include,
+ -cert-err33-c,
+ -clang-diagnostic-unused-parameter,
+ -cppcoreguidelines-avoid-non-const-global-variables,
-llvmlibc-implementation-in-namespace,
+ -misc-unused-parameters,
-modernize-use-trailing-return-type,
- -performance-no-int-to-ptr,
-readability-function-cognitive-complexity,
- -readability-identifier-length,
InheritParentConfig: true