From bf23f48fe4ccf519bde3ea30bf3faa753b236c74 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 1 Jan 2021 20:46:54 +0100 Subject: Use separate clang-tidy configurations for headers and tests --- tests/.clang-tidy | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/.clang-tidy (limited to 'tests') diff --git a/tests/.clang-tidy b/tests/.clang-tidy new file mode 100644 index 0000000..0b8f64b --- /dev/null +++ b/tests/.clang-tidy @@ -0,0 +1,12 @@ +Checks: > + *, + -*-magic-numbers, + -*-uppercase-literal-suffix, + -bugprone-suspicious-string-compare, + -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, + -hicpp-signed-bitwise, + -llvm-header-guard, + -llvmlibc-*, +WarningsAsErrors: '*' +HeaderFilterRegex: '.*' +FormatStyle: file -- cgit v1.2.1