summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-17 09:14:36 -0400
committerDavid Robillard <d@drobilla.net>2024-07-17 09:43:57 -0400
commit76f9cecc06247eca4fb649e1c0a2f7f1ba23408e (patch)
treee66f59cefec2f4f9fb5d08d9054977ab1237d497
parent5d46cb1a9e1bb2eb989c364805903e1cd98cea30 (diff)
downloadpatchage-76f9cecc06247eca4fb649e1c0a2f7f1ba23408e.tar.gz
patchage-76f9cecc06247eca4fb649e1c0a2f7f1ba23408e.tar.bz2
patchage-76f9cecc06247eca4fb649e1c0a2f7f1ba23408e.zip
Strengthen clang-tidy configuration
Some of these suppress warnings in fmt, but meson's clang-tidy driver isn't smart enough to avoid checking that and wasn't clean anyway. So, just ignore this and use a stronger configuration that reflects the state of Patchage's own code.
-rw-r--r--.clang-tidy6
1 files changed, 0 insertions, 6 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 864f349..eaeb1e0 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -8,14 +8,12 @@ Checks: >
-*-named-parameter,
-*-no-malloc,
-*-non-private-member-variables-in-classes,
- -*-unused-macros,
-*-vararg,
-abseil-string-find-str-contains,
-altera-*,
-bugprone-assignment-in-if-condition,
-bugprone-easily-swappable-parameters,
-bugprone-multi-level-implicit-pointer-conversion,
- -cert-dcl21-cpp,
-cert-dcl50-cpp,
-clang-analyzer-optin.cplusplus.VirtualCall,
-concurrency-mt-unsafe,
@@ -25,20 +23,16 @@ Checks: >
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
- -cppcoreguidelines-pro-type-const-cast,
-cppcoreguidelines-pro-type-reinterpret-cast,
- -cppcoreguidelines-pro-type-union-access,
-fuchsia-default-arguments-calls,
-fuchsia-default-arguments-declarations,
-fuchsia-multiple-inheritance,
-fuchsia-overloaded-operator,
-google-readability-todo,
- -google-runtime-references,
-hicpp-no-array-decay,
-llvm-header-guard,
-llvmlibc-*,
-misc-include-cleaner,
- -misc-no-recursion,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
-performance-enum-size,