diff options
author | David Robillard <d@drobilla.net> | 2020-11-09 19:23:08 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-09 20:03:10 +0100 |
commit | 6bd53f582297574cf009ff0cfd80a1fd3a315b6b (patch) | |
tree | e32d25c26666b797c54fc506d5f8ef0069fb9613 | |
parent | 81832c41514babe7bb8ad9295057636b7a7f9628 (diff) | |
download | serd-6bd53f582297574cf009ff0cfd80a1fd3a315b6b.tar.gz serd-6bd53f582297574cf009ff0cfd80a1fd3a315b6b.tar.bz2 serd-6bd53f582297574cf009ff0cfd80a1fd3a315b6b.zip |
Use separate clang-tidy configurations for implementation and tests
-rw-r--r-- | src/.clang-tidy (renamed from .clang-tidy) | 4 | ||||
-rw-r--r-- | test/.clang-tidy | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/.clang-tidy b/src/.clang-tidy index 19c7db5c..4cd5fa58 100644 --- a/.clang-tidy +++ b/src/.clang-tidy @@ -2,16 +2,12 @@ Checks: > *, -*-magic-numbers, -*-uppercase-literal-suffix, - -android-cloexec-fopen, -bugprone-branch-clone, -bugprone-suspicious-string-compare, - -clang-analyzer-alpha.*, - -clang-analyzer-valist.Uninitialized, -google-readability-todo, -hicpp-signed-bitwise, -llvm-header-guard, -readability-else-after-return, - -readability-implicit-bool-conversion, WarningsAsErrors: '*' HeaderFilterRegex: '.*' FormatStyle: file diff --git a/test/.clang-tidy b/test/.clang-tidy new file mode 100644 index 00000000..6188e22f --- /dev/null +++ b/test/.clang-tidy @@ -0,0 +1,9 @@ +Checks: > + *, + -*-magic-numbers, + -*-uppercase-literal-suffix, + -android-cloexec-fopen, + -hicpp-signed-bitwise, +WarningsAsErrors: '*' +HeaderFilterRegex: '.*' +FormatStyle: file |