aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bindings/cpp/include/.clang-tidy2
-rw-r--r--examples/.clang-tidy3
-rw-r--r--include/.clang-tidy2
-rw-r--r--meson.build1
-rw-r--r--src/.clang-tidy3
-rw-r--r--test/.clang-tidy2
6 files changed, 8 insertions, 5 deletions
diff --git a/bindings/cpp/include/.clang-tidy b/bindings/cpp/include/.clang-tidy
index 20c477e..547f0b9 100644
--- a/bindings/cpp/include/.clang-tidy
+++ b/bindings/cpp/include/.clang-tidy
@@ -1,7 +1,7 @@
Checks: >
*,
-*-uppercase-literal-suffix,
- -altera-struct-pack-align,
+ -altera*,
-clang-diagnostic-unused-macros,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-reinterpret-cast,
diff --git a/examples/.clang-tidy b/examples/.clang-tidy
index a03027e..52f1f0e 100644
--- a/examples/.clang-tidy
+++ b/examples/.clang-tidy
@@ -4,8 +4,9 @@ Checks: >
-*avoid-c-arrays,
-*magic-numbers,
-*uppercase-literal-suffix,
- -altera-struct-pack-align,
+ -altera*,
-android-cloexec-fopen,
+ -bugprone-easily-swappable-parameters,
-bugprone-macro-parentheses,
-bugprone-reserved-identifier,
-bugprone-suspicious-string-compare,
diff --git a/include/.clang-tidy b/include/.clang-tidy
index b6d941c..3421cc2 100644
--- a/include/.clang-tidy
+++ b/include/.clang-tidy
@@ -2,7 +2,7 @@ Checks: >
*,
-*-magic-numbers,
-*-uppercase-literal-suffix,
- -altera-struct-pack-align,
+ -altera*,
-clang-diagnostic-unused-function,
-clang-diagnostic-unused-macros,
-llvmlibc-*,
diff --git a/meson.build b/meson.build
index a74f9f7..892944b 100644
--- a/meson.build
+++ b/meson.build
@@ -42,6 +42,7 @@ if get_option('strict')
'-Wno-documentation-unknown-command', # Cairo
'-Wno-padded',
'-Wno-reserved-id-macro',
+ '-Wno-reserved-identifier', # Cairo, FD_ZERO
'-Wno-switch-default',
'-Wno-switch-enum',
]
diff --git a/src/.clang-tidy b/src/.clang-tidy
index f4378ba..70b522f 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -2,7 +2,8 @@ Checks: >
*,
-*-uppercase-literal-suffix,
-*magic-numbers,
- -altera-struct-pack-align,
+ -altera*,
+ -bugprone-easily-swappable-parameters,
-bugprone-reserved-identifier,
-cert-dcl37-c,
-cert-dcl51-cpp,
diff --git a/test/.clang-tidy b/test/.clang-tidy
index f3a1adc..832c2d0 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -2,7 +2,7 @@ Checks: >
*,
-*-magic-numbers,
-*-uppercase-literal-suffix,
- -altera-struct-pack-align,
+ -altera*,
-bugprone-reserved-identifier,
-bugprone-suspicious-include,
-cert-dcl37-c,