From 1558a19f19c073a174e939eb6a40e8642c623ccf Mon Sep 17 00:00:00 2001 From: Romain BOULLARD Date: Wed, 2 Sep 2026 10:19:11 +0200 Subject: [PATCH] Special config for Tests and Benchmarks --- .clang-tidy | 3 ++- Bigfoot/Benchmarks/.clang-tidy | 3 +++ Bigfoot/Tests/.clang-tidy | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 Bigfoot/Benchmarks/.clang-tidy create mode 100644 Bigfoot/Tests/.clang-tidy diff --git a/.clang-tidy b/.clang-tidy index 025a0bd..48c5a9d 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -16,7 +16,8 @@ Checks: > -cppcoreguidelines-macro-usage, -cppcoreguidelines-avoid-do-while, -cppcoreguidelines-pro-bounds-avoid-unchecked-container-access, - -cppcoreguidelines-pro-bounds-pointer-arithmetic + -cppcoreguidelines-pro-bounds-pointer-arithmetic, + -cppcoreguidelines-pro-type-reinterpret-cast ExcludeHeaderFilterRegex: '_generated.*' diff --git a/Bigfoot/Benchmarks/.clang-tidy b/Bigfoot/Benchmarks/.clang-tidy new file mode 100644 index 0000000..ff5b587 --- /dev/null +++ b/Bigfoot/Benchmarks/.clang-tidy @@ -0,0 +1,3 @@ +InheritParentConfig: true +Checks: > + -cppcoreguidelines-non-private-member-variables-in-classes diff --git a/Bigfoot/Tests/.clang-tidy b/Bigfoot/Tests/.clang-tidy new file mode 100644 index 0000000..ff5b587 --- /dev/null +++ b/Bigfoot/Tests/.clang-tidy @@ -0,0 +1,3 @@ +InheritParentConfig: true +Checks: > + -cppcoreguidelines-non-private-member-variables-in-classes