Skip to content

Commit 2ddf0cf

Browse files
committed
Enhance clang-format config
1 parent 0a22b96 commit 2ddf0cf

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.clang-format

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1-
UseTab: true
2-
TabWidth: 4
1+
BasedOnStyle: LLVM
2+
UseTab: ForContinuationAndIndentation
33
IndentWidth: 4
4+
TabWidth: 4
5+
AllowShortIfStatementsOnASingleLine: false
6+
BreakBeforeBraces: Attach
7+
AlignConsecutiveMacros: true
8+
ColumnLimit: 140
9+
IndentPPDirectives: AfterHash
10+
SortIncludes: Never
11+
InsertBraces: true
12+
AllowShortEnumsOnASingleLine: false

0 commit comments

Comments
 (0)