diff options
author | David Robillard <d@drobilla.net> | 2020-12-15 21:36:01 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-16 10:59:49 +0100 |
commit | 115978bcfcc05cda48b39c19010839d5a179984c (patch) | |
tree | 6458961960542ec93a60b0e68c31238de4dd0422 | |
parent | 91f5552187ec0e9c56fb6dacc72a5a0166429788 (diff) | |
download | sord-115978bcfcc05cda48b39c19010839d5a179984c.tar.gz sord-115978bcfcc05cda48b39c19010839d5a179984c.tar.bz2 sord-115978bcfcc05cda48b39c19010839d5a179984c.zip |
Add clang-tidy configuration
-rw-r--r-- | .clang-tidy | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..f95d6a3 --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,59 @@ +Checks: > + *, + -*-else-after-return, + -*-magic-numbers, + -*-non-private-member-variables-in-classes, + -*-uppercase-literal-suffix, + -*-use-auto, + -*-use-equals-default, + -*-use-equals-delete, + -*-vararg, + -abseil-string-find-str-contains, + -android-cloexec-fopen, + -bugprone-branch-clone, + -bugprone-copy-constructor-init, + -bugprone-narrowing-conversions, + -bugprone-reserved-identifier, + -bugprone-suspicious-include, + -bugprone-suspicious-string-compare, + -cert-dcl37-c, + -cert-dcl51-cpp, + -cert-err34-c, + -clang-analyzer-valist.Uninitialized, + -cppcoreguidelines-avoid-non-const-global-variables, + -cppcoreguidelines-init-variables, + -cppcoreguidelines-macro-usage, + -cppcoreguidelines-narrowing-conversions, + -cppcoreguidelines-owning-memory, + -cppcoreguidelines-pro-bounds-array-to-pointer-decay, + -cppcoreguidelines-pro-type-reinterpret-cast, + -cppcoreguidelines-special-member-functions, + -fuchsia-default-arguments-calls, + -fuchsia-default-arguments-declarations, + -fuchsia-multiple-inheritance, + -fuchsia-overloaded-operator, + -google-explicit-constructor, + -google-readability-todo, + -google-runtime-references, + -hicpp-explicit-conversions, + -hicpp-multiway-paths-covered, + -hicpp-no-array-decay, + -hicpp-noexcept-move, + -hicpp-signed-bitwise, + -hicpp-special-member-functions, + -llvm-header-guard, + -llvm-include-order, + -llvmlibc-*, + -misc-no-recursion, + -misc-unused-parameters, + -modernize-use-default-member-init, + -modernize-use-trailing-return-type, + -performance-faster-string-find, + -performance-noexcept-move-constructor, + -performance-unnecessary-value-param, + -readability-const-return-type, + -readability-implicit-bool-conversion, + -readability-redundant-member-init, +WarningsAsErrors: '*' +HeaderFilterRegex: '.*' +FormatStyle: file |