Skip to content

Commit 25e7f1d

Browse files
ci: Add macro alignement option
Add the `AlignConsecutiveMacros: true` option to the `.clang-format` file to improve readability and consistency of consecutive macro definitions. This change ensures that related macros are visually aligned, making the codebase easier to maintain and review.
1 parent 2a071c5 commit 25e7f1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ BinPackArguments: true
6464
AlignAfterOpenBracket: Align
6565
AlignConsecutiveAssignments: false
6666
AlignConsecutiveDeclarations: false
67+
AlignConsecutiveMacros: true
6768

6869
# Control statements
6970
AlwaysBreakAfterReturnType: TopLevelDefinitions

0 commit comments

Comments
 (0)