diff --git a/.clang-tidy b/.clang-tidy index a54058a243..c36e9db0e4 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,17 +1,11 @@ Checks: [-*, bugprone-*, - performance-avoid-endl, - performance-enum-size, - performance-faster-string-find, - performance-for-range-copy, - performance-inefficient-vector-operation, - performance-move-const-argument, - performance-unnecessary-copy-initialization, - performance-inefficient-string-concatenation, + performance-*, # Skipping these temporarily because they are very noisy -bugprone-narrowing-conversions, -bugprone-unchecked-optional-access, + -performance-unnecessary-value-param, # The following cause either lots of pointless or advisory warnings -bugprone-easily-swappable-parameters, @@ -30,5 +24,9 @@ Checks: [-*, -bugprone-undefined-memory-manipulation, -bugprone-pointer-arithmetic-on-polymorphic-object, -bugprone-empty-catch, - -bugprone-exception-escape + -bugprone-exception-escape, + + # This one returns a bunch of findings in DFA and the sqlite library. + # We're unlikely to fix either of them. + -performance-no-int-to-ptr, ]