Skip to content

Commit 25fc432

Browse files
committed
Update .clang-format
1 parent 283c8f1 commit 25fc432

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.clang-format

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,11 @@ UseTab: Never
88
PointerAlignment: Left
99
IndentCaseLabels: true
1010
AlwaysBreakTemplateDeclarations: Yes
11-
InsertBraces: True
11+
InsertBraces: true
12+
SortIncludes: true
13+
# system headers come first
14+
IncludeCategories:
15+
- Regex: "^<.*>"
16+
Priority: 1
17+
- Regex: '^".*\.(h|hpp)"'
18+
Priority: 2

0 commit comments

Comments
 (0)