summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorMark Stapp <mjs@labn.net>2023-05-12 15:16:34 +0200
committerMark Stapp <mjs@labn.net>2023-05-12 15:16:34 +0200
commit25314d5d878bbcc5ff63ebe76db9b2143b3e04ab (patch)
tree60a99df74f36625d29040f233d01effba12d95d9 /.clang-format
parentMerge pull request #13446 from louis-6wind/fix-ext-comm (diff)
downloadfrr-25314d5d878bbcc5ff63ebe76db9b2143b3e04ab.tar.xz
frr-25314d5d878bbcc5ff63ebe76db9b2143b3e04ab.zip
tools: config clang-format to allow aligned macros
Add an AlignConsecutiveMacros config for clang-format. Signed-off-by: Mark Stapp <mjs@labn.net>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 1b1832334..c51e0b3ce 100644
--- a/.clang-format
+++ b/.clang-format
@@ -11,6 +11,7 @@ AllowShortFunctionsOnASingleLine: false
IndentCaseLabels: false
AlignEscapedNewlinesLeft: false
AlignTrailingComments: true
+AlignConsecutiveMacros: AcrossComments
AllowAllParametersOfDeclarationOnNextLine: false
AlignAfterOpenBracket: true
SpaceAfterCStyleCast: false