-
Notifications
You must be signed in to change notification settings - Fork 5
/
.clang-format
48 lines (48 loc) · 1.33 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
AccessModifierOffset: -4
AlignConsecutiveMacros: true
AlignEscapedNewlines: Left
AlignOperands: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: Inline
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterFunction: true
SplitEmptyRecord: false
BreakBeforeBinaryOperators: false
BreakBeforeBraces: Custom
BreakConstructorInitializers: BeforeComma
Cpp11BracedListStyle: false
IndentCaseLabels: true
IndentWidth: 4
PenaltyBreakBeforeFirstCallParameter: 300
PenaltyReturnTypeOnItsOwnLine: 600
SpaceAfterCStyleCast: true
SpaceBeforeCpp11BracedList: true
TabWidth: 4
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<async/'
Priority: 2
- Regex: '^<asynchttp/'
Priority: 2
- Regex: '^<asynctls/'
Priority: 2
- Regex: '^<encjson\.h>'
Priority: 2
- Regex: '^<fsdyn/'
Priority: 2
- Regex: '^<fstrace\.h>'
Priority: 2
- Regex: '^<nwutil\.h>'
Priority: 2
- Regex: '^<rotatable/'
Priority: 2
- Regex: '^<unixkit/'
Priority: 2
- Regex: '^<'
Priority: 1
- Regex: '.*'
Priority: 3