-
Notifications
You must be signed in to change notification settings - Fork 0
/
_clang-format
26 lines (26 loc) · 721 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
BasedOnStyle: WebKit
AccessModifierOffset: 0
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: true
AlignTrailingComments: true
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
BraceWrapping:
AfterFunction: false
BreakBeforeBraces: Custom
BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 8
Cpp11BracedListStyle: true
FixNamespaceComments: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<TreeDS'
Priority: 10
- Regex: '^\".+'
Priority: 20
PenaltyBreakComment: 1
ReflowComments: true
SortUsingDeclarations: true
Standard: Cpp11