Add AlignConsecutiveMacros: true so that blocks of consecutive #defines can be neatly aligned.
Cc: Dan Williams <[email protected]> Reported-by: Alison Schofield <[email protected]> Signed-off-by: Vishal Verma <[email protected]> --- .clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-format b/.clang-format index b6169e1..9ea49bf 100644 --- a/.clang-format +++ b/.clang-format @@ -13,6 +13,7 @@ AccessModifierOffset: -4 AlignAfterOpenBracket: Align AlignConsecutiveAssignments: false AlignConsecutiveDeclarations: false +AlignConsecutiveMacros: true #AlignEscapedNewlines: Left # Unknown to clang-format-4.0 AlignOperands: true AlignTrailingComments: false -- 2.38.1
