From b3ab79291659dd40f6eeab016a62b742a9acff99 Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Fri, 14 Mar 2025 21:13:05 +0100 Subject: [PATCH] clang-format: Enable skipping of macro definitions for clang-format 19 Without this setting many multi-line macro definitions in the code-base would have been reformatted. As many of those definitions are formatted in a bespoke way to ensure legibility, changing their format would be detrimental to that specific goal. --- .clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-format b/.clang-format index a10cf9586..73c5b0faa 100644 --- a/.clang-format +++ b/.clang-format @@ -81,6 +81,7 @@ PenaltyReturnTypeOnItsOwnLine: 60 PointerAlignment: Right ReflowComments: false +SkipMacroDefinitionBody: true SortIncludes: false SortUsingDeclarations: false SpaceAfterCStyleCast: false