-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
36 lines (32 loc) · 883 Bytes
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
BreakBeforeBraces: Attach
AlignAfterOpenBracket: AlwaysBreak
SpaceBeforeParens: Never
IndentWidth: 4
ColumnLimit: 80
IndentCaseLabels: true
UseTab: Never
PointerAlignment: Left
IndentPPDirectives: BeforeHash
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
BinPackArguments: false
AllowAllParametersOfDeclarationOnNextLine: false
BinPackParameters: false
AllowAllArgumentsOnNextLine: false
Standard: c++17
IndentPPDirectives: BeforeHash
SortIncludes: CaseSensitive
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^"[[:alnum:].]+"$'
Priority: 1
CaseSensitive: true
- Regex: '^"[[:alnum:].]+/'
Priority: 2
CaseSensitive: true
- Regex: '^<'
Priority: 3
CaseSensitive: true
- Regex: '.*'
Priority: 4
CaseSensitive: true