-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.clang-format
46 lines (36 loc) · 1001 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
37
38
39
40
41
42
43
44
45
46
ColumnLimit: 120
IndentWidth: 4
UseTab: Never
AccessModifierOffset: -4
BreakInheritanceList: BeforeComma
BreakConstructorInitializers: BeforeComma
NamespaceIndentation: None
CompactNamespaces: false
MaxEmptyLinesToKeep: 2
DerivePointerAlignment: false
PointerAlignment: Left
BinPackParameters: false
BinPackArguments: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterStruct: false
AfterClass: false
SplitEmptyFunction: false
AfterControlStatement: false
AfterFunction: false
AfterNamespace: false
AfterExternBlock: false
IncludeBlocks: Regroup
SortIncludes: true
#SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeCpp11BracedList: false
AllowShortLoopsOnASingleLine: true
AllowShortFunctionsOnASingleLine: None
#AllowShortLambdasOnASingleLine: true
AlwaysBreakTemplateDeclarations: Yes