aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-10 12:12:14 -0500
committerDavid Robillard <d@drobilla.net>2022-12-10 12:12:14 -0500
commit96155fbd07774442c596fac1e1c5a71cdf0c2c21 (patch)
tree482bd2fe73fd07bbe8617c705115177f084879e7
parent221636904b9389a3709c40c38ca3dbf51e4c32f7 (diff)
downloadserd-96155fbd07774442c596fac1e1c5a71cdf0c2c21.tar.gz
serd-96155fbd07774442c596fac1e1c5a71cdf0c2c21.tar.bz2
serd-96155fbd07774442c596fac1e1c5a71cdf0c2c21.zip
Make clang-tidy configuration clean when run via meson
-rw-r--r--.clang-tidy5
-rw-r--r--src/.clang-tidy2
-rw-r--r--test/.clang-tidy2
3 files changed, 5 insertions, 4 deletions
diff --git a/.clang-tidy b/.clang-tidy
index eaf6ac95..8a56f512 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -6,6 +6,7 @@ Checks: >
-altera-*,
-llvmlibc-*,
-readability-identifier-length,
-WarningsAsErrors: '*'
-HeaderFilterRegex: '.*'
+ -clang-diagnostic-unused-macros,
FormatStyle: file
+HeaderFilterRegex: '.*/serd/.*\.h'
+WarningsAsErrors: '*'
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 331ec702..8f408ddc 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -6,6 +6,8 @@ Checks: >
-bugprone-easily-swappable-parameters,
-cert-err33-c,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
+ -clang-analyzer-valist.Uninitialized,
+ -clang-diagnostic-unused-function,
-concurrency-mt-unsafe,
-google-readability-todo,
-hicpp-multiway-paths-covered,
diff --git a/test/.clang-tidy b/test/.clang-tidy
index 4450bf3b..9710cb77 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -6,11 +6,9 @@ Checks: >
-android-cloexec-fopen,
-bugprone-easily-swappable-parameters,
-cert-err33-c,
- -clang-analyzer-nullability.NullabilityBase,
-clang-analyzer-nullability.NullableDereferenced,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-concurrency-mt-unsafe,
- -cppcoreguidelines-avoid-non-const-global-variables,
-hicpp-signed-bitwise,
-readability-function-cognitive-complexity,
InheritParentConfig: true