From 76f9cecc06247eca4fb649e1c0a2f7f1ba23408e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 17 Jul 2024 09:14:36 -0400 Subject: 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. --- .clang-tidy | 6 ------ 1 file changed, 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, -- cgit v1.2.1