From 0495c381d065713852ee9e61df544ba531223824 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Nov 2020 01:43:47 +0100 Subject: Use separate clang-tidy configurations for headers and tests --- test/.clang-tidy | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 test/.clang-tidy (limited to 'test/.clang-tidy') 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 + + -- cgit v1.2.1