From ff31004b982c0627ffe5869747b4de7eed763737 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Tue, 24 Sep 2024 20:22:48 +0200 Subject: [PATCH] [clang-tidy] disable cppcoreguidelines-macro-usage This check does not help us as: * We need some stringification macros even in C++ * The whole API is C so macros are all over the place --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-tidy b/.clang-tidy index 10e5d2dfa..4fc7cd99b 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -39,6 +39,7 @@ Checks: > -cppcoreguidelines-avoid-magic-numbers, -cppcoreguidelines-avoid-non-const-global-variables, -cppcoreguidelines-macro-to-enum, + -cppcoreguidelines-macro-usage, -cppcoreguidelines-pro-type-vararg, -cppcoreguidelines-pro-type-reinterpret-cast, -cppcoreguidelines-pro-bounds-pointer-arithmetic,