]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tools: config clang-format to allow aligned macros
authorMark Stapp <mjs@labn.net>
Fri, 12 May 2023 13:16:34 +0000 (09:16 -0400)
committerMark Stapp <mjs@labn.net>
Fri, 12 May 2023 13:16:34 +0000 (09:16 -0400)
Add an AlignConsecutiveMacros config for clang-format.

Signed-off-by: Mark Stapp <mjs@labn.net>
.clang-format

index 1b18323348976628c99ae7494f4fa3b8e3b756f0..c51e0b3cec93bf490d63f22740b6cd3a7b25924a 100644 (file)
@@ -11,6 +11,7 @@ AllowShortFunctionsOnASingleLine: false
 IndentCaseLabels: false
 AlignEscapedNewlinesLeft: false
 AlignTrailingComments: true
+AlignConsecutiveMacros: AcrossComments
 AllowAllParametersOfDeclarationOnNextLine: false
 AlignAfterOpenBracket: true
 SpaceAfterCStyleCast: false