aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-06-28 19:38:48 -0400
committerDavid Robillard <d@drobilla.net>2022-06-28 19:38:48 -0400
commitff5b46e0ad18dc71b125f23d1beef1eeb227b3d0 (patch)
treec8a69a750dacd71323a798e8b92b742e7c7347bd
parent38b97f3c6dd626e963f4a031da77be2e71427091 (diff)
downloadpugl-ff5b46e0ad18dc71b125f23d1beef1eeb227b3d0.tar.gz
pugl-ff5b46e0ad18dc71b125f23d1beef1eeb227b3d0.tar.bz2
pugl-ff5b46e0ad18dc71b125f23d1beef1eeb227b3d0.zip
Simplify clang-tidy configuration
-rw-r--r--.clang-tidy4
-rw-r--r--examples/.clang-tidy6
-rw-r--r--src/.clang-tidy1
-rw-r--r--test/.clang-tidy2
4 files changed, 1 insertions, 12 deletions
diff --git a/.clang-tidy b/.clang-tidy
deleted file mode 100644
index 1e40901..0000000
--- a/.clang-tidy
+++ /dev/null
@@ -1,4 +0,0 @@
-Checks: >
- *,
-FormatStyle: file
-WarningsAsErrors: '*'
diff --git a/examples/.clang-tidy b/examples/.clang-tidy
index 52f1f0e..f7edc9a 100644
--- a/examples/.clang-tidy
+++ b/examples/.clang-tidy
@@ -1,5 +1,6 @@
Checks: >
*,
+ -*-named-parameter,
-*-non-private-member-variables-in-classes,
-*avoid-c-arrays,
-*magic-numbers,
@@ -12,9 +13,6 @@ Checks: >
-bugprone-suspicious-string-compare,
-cert-dcl37-c,
-cert-dcl51-cpp,
- -cert-flp30-c,
- -clang-analyzer-alpha.*,
- -clang-analyzer-security.FloatLoopCounter,
-concurrency-mt-unsafe,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-macro-usage,
@@ -28,7 +26,6 @@ Checks: >
-fuchsia-overloaded-operator,
-google-runtime-references,
-hicpp-multiway-paths-covered,
- -hicpp-named-parameter,
-hicpp-no-array-decay,
-hicpp-signed-bitwise,
-hicpp-vararg,
@@ -39,6 +36,5 @@ Checks: >
-performance-no-int-to-ptr,
-readability-function-cognitive-complexity,
-readability-implicit-bool-conversion,
- -readability-named-parameter,
FormatStyle: file
HeaderFilterRegex: 'pugl/.*|test/.*|examples/.*'
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 981e098..48a7467 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -8,7 +8,6 @@ Checks: >
-hicpp-signed-bitwise,
-llvm-header-guard,
-llvmlibc-*,
- -performance-no-int-to-ptr,
-readability-function-cognitive-complexity,
FormatStyle: file
HeaderFilterRegex: 'pugl/.*'
diff --git a/test/.clang-tidy b/test/.clang-tidy
index 76de2d9..670b63d 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -4,8 +4,6 @@ Checks: >
-*-uppercase-literal-suffix,
-altera*,
-bugprone-suspicious-include,
- -cert-dcl37-c,
- -cert-dcl51-cpp,
-google-runtime-references,
-hicpp-multiway-paths-covered,
-hicpp-signed-bitwise,