diff options
author | David Robillard <d@drobilla.net> | 2020-07-18 10:56:13 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-18 10:56:13 +0200 |
commit | 496e70e420811c7d744a8bcc44a2ac1b51b676b5 (patch) | |
tree | 7e485a17ee5889b5cbe4d7e28ab750994db2da9f /.clang-tidy | |
parent | 301fcab43e6420977e0de95b10f33d24b16e9535 (diff) | |
download | raul-496e70e420811c7d744a8bcc44a2ac1b51b676b5.tar.gz raul-496e70e420811c7d744a8bcc44a2ac1b51b676b5.tar.bz2 raul-496e70e420811c7d744a8bcc44a2ac1b51b676b5.zip |
Add more powerful lint target
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..c22be8b --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,38 @@ +Checks: > + *, + -*-avoid-c-arrays, + -*-magic-numbers, + -*-uppercase-literal-suffix, + -android*, + -bugprone-branch-clone, + -clang-analyzer-alpha.*, + -cppcoreguidelines-no-malloc, + -cppcoreguidelines-owning-memory, + -cppcoreguidelines-pro-bounds-array-to-pointer-decay, + -cppcoreguidelines-pro-bounds-pointer-arithmetic, + -cppcoreguidelines-pro-type-const-cast, + -cppcoreguidelines-pro-type-reinterpret-cast, + -cppcoreguidelines-pro-type-vararg, + -cppcoreguidelines-special-member-functions, + -fuchsia-default-arguments-*, + -fuchsia-overloaded-operator, + -google-runtime-int, + -google-runtime-references, + -hicpp-no-array-decay, + -hicpp-no-malloc, + -hicpp-signed-bitwise, + -hicpp-special-member-functions, + -hicpp-vararg, + -llvm-header-guard, + -misc-suspicious-string-compare, + -misc-unused-parameters, + -modernize-make-unique, + -modernize-use-trailing-return-type, + -readability-else-after-return, + -readability-implicit-bool-conversion, + -readability-make-member-function-const, +WarningsAsErrors: '*' +HeaderFilterRegex: '.*' +FormatStyle: file + + |