diff options
author | David Robillard <d@drobilla.net> | 2020-11-12 01:43:47 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-12 01:47:44 +0100 |
commit | 0495c381d065713852ee9e61df544ba531223824 (patch) | |
tree | 636027d82ab20f9948d75b92b2e63711159cb875 /test/.clang-tidy | |
parent | f8d95542492a8a960853c0cb0b855d2473c941a0 (diff) | |
download | raul-0495c381d065713852ee9e61df544ba531223824.tar.gz raul-0495c381d065713852ee9e61df544ba531223824.tar.bz2 raul-0495c381d065713852ee9e61df544ba531223824.zip |
Use separate clang-tidy configurations for headers and tests
Diffstat (limited to 'test/.clang-tidy')
-rw-r--r-- | test/.clang-tidy | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/.clang-tidy b/test/.clang-tidy new file mode 100644 index 0000000..57fec1f --- /dev/null +++ b/test/.clang-tidy @@ -0,0 +1,31 @@ +Checks: > + *, + -*-avoid-c-arrays, + -*-magic-numbers, + -*-special-member-functions, + -*-uppercase-literal-suffix, + -*-vararg, + -android-cloexec-accept, + -bugprone-branch-clone, + -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, + -fuchsia-default-arguments-*, + -fuchsia-overloaded-operator, + -google-runtime-int, + -google-runtime-references, + -hicpp-no-array-decay, + -hicpp-no-malloc, + -hicpp-signed-bitwise, + -modernize-make-unique, + -modernize-use-trailing-return-type, + -readability-else-after-return, + -readability-implicit-bool-conversion, +WarningsAsErrors: '*' +HeaderFilterRegex: '.*' +FormatStyle: file + + |