From 6bd53f582297574cf009ff0cfd80a1fd3a315b6b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 9 Nov 2020 19:23:08 +0100 Subject: Use separate clang-tidy configurations for implementation and tests --- src/.clang-tidy | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/.clang-tidy (limited to 'src/.clang-tidy') 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 -- cgit v1.2.1