-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-format
52 lines (46 loc) · 1.36 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
49
50
51
52
BasedOnStyle: LLVM
Language: Cpp
ColumnLimit: 80
UseTab: Never
IndentWidth: 2
AccessModifierOffset: -4
NamespaceIndentation: None
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlignAfterOpenBracket: AlwaysBreak
ContinuationIndentWidth: 2
PenaltyReturnTypeOnItsOwnLine: 100
CompactNamespaces: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction : false
AfterClass : false
AfterEnum : false
IndentBraces: false
AlwaysBreakTemplateDeclarations: true
BreakConstructorInitializersBeforeComma: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
AllowShortBlocksOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortLoopsOnASingleLine: true
IndentWrappedFunctionNames: false
PointerAlignment: Left
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: false
AlignTrailingComments: true
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
BreakBeforeTernaryOperators: false
SpaceInEmptyParentheses: false
SpacesInAngles: false
SpacesInContainerLiterals: false
SpaceBeforeParens: ControlStatements
MaxEmptyLinesToKeep: 2
IndentCaseLabels: false
ConstructorInitializerIndentWidth: 2
ConstructorInitializerAllOnOneLineOrOnePerLine: false
BreakConstructorInitializersBeforeComma: false