diff options
author | David Robillard <d@drobilla.net> | 2022-09-27 16:46:50 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-09-27 16:46:50 -0400 |
commit | 6408b405e424245977f5530fc7f4970fae76ccce (patch) | |
tree | 82d460122c895065e4b0cbb96d78d8a915be5568 /.clang-tidy | |
parent | 8f90e03c36d7a34324415ed8b5ab3f214cebed2e (diff) | |
download | ingen-6408b405e424245977f5530fc7f4970fae76ccce.tar.gz ingen-6408b405e424245977f5530fc7f4970fae76ccce.tar.bz2 ingen-6408b405e424245977f5530fc7f4970fae76ccce.zip |
Simplify clang-tidy configuration
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 56 |
1 files changed, 7 insertions, 49 deletions
diff --git a/.clang-tidy b/.clang-tidy index 241b17ed..69353fab 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,74 +1,32 @@ Checks: > *, - -*-avoid-c-arrays, -*-magic-numbers, -*-named-parameter, -*-narrowing-conversions, -*-non-private-member-variables-in-classes, - -*-uppercase-literal-suffix, - -abseil-string-find-str-contains, + -*-special-member-functions, + -abseil-*, -altera-*, - -android-cloexec-*, - -bugprone-branch-clone, - -bugprone-easily-swappable-parameters, - -bugprone-exception-escape, - -bugprone-macro-parentheses, - -bugprone-parent-virtual-call, - -bugprone-reserved-identifier, - -bugprone-suspicious-string-compare, - -cert-dcl37-c, - -cert-dcl50-cpp, - -cert-dcl51-cpp, - -cert-err33-c, - -cert-err34-c, - -cert-err58-cpp, - -cert-str34-c, - -clang-analyzer-alpha.*, - -clang-analyzer-core.CallAndMessage, - -clang-analyzer-optin.cplusplus.VirtualCall, - -clang-analyzer-valist.Uninitialized, - -concurrency-mt-unsafe, - -cppcoreguidelines-avoid-non-const-global-variables, -cppcoreguidelines-macro-usage, - -cppcoreguidelines-no-malloc, - -cppcoreguidelines-owning-memory, - -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-cstyle-cast, - -cppcoreguidelines-pro-type-reinterpret-cast, - -cppcoreguidelines-pro-type-static-cast-downcast, - -cppcoreguidelines-pro-type-union-access, - -cppcoreguidelines-pro-type-vararg, - -cppcoreguidelines-slicing, - -fuchsia-*, + -fuchsia-default-arguments-calls, + -fuchsia-default-arguments-declarations, + -fuchsia-multiple-inheritance, + -fuchsia-overloaded-operator, -google-default-arguments, -google-explicit-constructor, - -google-readability-casting, - -google-readability-todo, - -google-runtime-int, - -google-runtime-references, -hicpp-explicit-conversions, - -hicpp-multiway-paths-covered, - -hicpp-no-array-decay, - -hicpp-no-malloc, -hicpp-signed-bitwise, - -hicpp-vararg, -llvm-header-guard, -llvmlibc-*, - -misc-no-recursion, -misc-unused-parameters, -modernize-concat-nested-namespaces, -modernize-make-unique, + -modernize-pass-by-value, -modernize-return-braced-init-list, -modernize-use-nodiscard, -modernize-use-trailing-return-type, - -readability-convert-member-functions-to-static, - -readability-function-cognitive-complexity, -readability-identifier-length, -readability-implicit-bool-conversion, - -readability-use-anyofallof, CheckOptions: - key: modernize-use-override.AllowOverrideAndFinal value: 'true' |