Skip to content

Commit e05ac21

Browse files
committed
Add formatting rules in .clang-format
1 parent 776b4fd commit e05ac21

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.clang-format

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
IndentWidth: 4
2+
BreakBeforeBraces: Custom
3+
BraceWrapping:
4+
AfterFunction: true
5+
AlignConsecutiveMacros:
6+
Enabled: true
7+
AcrossEmptyLines: true
8+
AcrossComments: true
9+
AlignConsecutiveAssignments:
10+
Enabled: true
11+
AcrossEmptyLines: true
12+
AcrossComments: true

0 commit comments

Comments
 (0)