aboutsummaryrefslogtreecommitdiffstats
path: root/src/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-09 19:23:08 +0100
committerDavid Robillard <d@drobilla.net>2020-11-09 20:03:10 +0100
commit6bd53f582297574cf009ff0cfd80a1fd3a315b6b (patch)
treee32d25c26666b797c54fc506d5f8ef0069fb9613 /src/.clang-tidy
parent81832c41514babe7bb8ad9295057636b7a7f9628 (diff)
downloadserd-6bd53f582297574cf009ff0cfd80a1fd3a315b6b.tar.gz
serd-6bd53f582297574cf009ff0cfd80a1fd3a315b6b.tar.bz2
serd-6bd53f582297574cf009ff0cfd80a1fd3a315b6b.zip
Use separate clang-tidy configurations for implementation and tests
Diffstat (limited to 'src/.clang-tidy')
-rw-r--r--src/.clang-tidy13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
new file mode 100644
index 00000000..4cd5fa58
--- /dev/null
+++ b/src/.clang-tidy
@@ -0,0 +1,13 @@
+Checks: >
+ *,
+ -*-magic-numbers,
+ -*-uppercase-literal-suffix,
+ -bugprone-branch-clone,
+ -bugprone-suspicious-string-compare,
+ -google-readability-todo,
+ -hicpp-signed-bitwise,
+ -llvm-header-guard,
+ -readability-else-after-return,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file