-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
101 lines (99 loc) · 2.65 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
BasedOnStyle: LLVM
IndentWidth: 4
#UseTab: Never
#TabWidth: 4
ColumnLimit: 150
Language: Cpp
Standard: Auto
PointerAlignment: Left
QualifierAlignment: Left
ReferenceAlignment: Left
RemoveParentheses: Leave
RemoveSemicolon: true
AlignConsecutiveShortCaseStatements:
Enabled: false
BinPackArguments: false
BinPackParameters: false
BreakBeforeTernaryOperators: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: true
#SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: Custom
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDeclarationName: false
AfterFunctionDefinitionName: false
AfterIfMacros: true
AfterOverloadedOperator: false
AfterPlacementOperator: true
BeforeNonEmptyParentheses: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpacesInAngles: Never
SpacesInContainerLiterals: true
SpacesInLineCommentPrefix:
Minimum: 0
Maximum: -1
SpacesInParens: Custom
SpacesInParensOptions:
InConditionalStatements: false
InCStyleCasts: false
InEmptyParentheses: false
Other: false
SpacesInSquareBrackets: false
SeparateDefinitionBlocks: Always
BreakInheritanceList: AfterComma
BreakConstructorInitializers: BeforeComma
PackConstructorInitializers: Never
EmptyLineBeforeAccessModifier: LogicalBlock
IndentAccessModifiers: false
#BreakFunctionDefinitionParameters: false
IndentCaseLabels: true
IndentCaseBlocks: false
BreakStringLiterals: true
Cpp11BracedListStyle: false
IncludeBlocks: Preserve
FixNamespaceComments: true
NamespaceIndentation: All
ShortNamespaceLines: 0
SortUsingDeclarations: Lexicographic
InsertBraces: true
InsertNewlineAtEOF: true
IndentRequiresClause: true
IndentPPDirectives: BeforeHash
IndentExternBlock: AfterExternBlock
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: None
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: None
AllowShortLoopsOnASingleLine: false
BitFieldColonSpacing: Both
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterStruct: true
AfterClass: true
AfterControlStatement: Always
AfterCaseLabel: true
AfterFunction: true
AfterNamespace: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
BeforeWhile: true
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: true
#DisableFormat: true