-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
209 lines (209 loc) · 5.65 KB
/
.clang-format
File metadata and controls
209 lines (209 loc) · 5.65 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
---
AlignAfterOpenBracket: BlockIndent
AlignArrayOfStructures: Right
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveBitFields:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveShortCaseStatements:
Enabled: true
AcrossEmptyLines: true
AcrossComments: true
AlignCaseArrows: true
AlignCaseColons: true
BreakInheritanceList: BeforeComma
BreakFunctionDefinitionParameters: false
BreakConstructorInitializers: BeforeComma
BreakBeforeTernaryOperators: true
BreakBeforeInlineASMColon: Never
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Custom
BreakBeforeBinaryOperators: None
BreakArrays: false
BreakAfterJavaFieldAnnotations: false
BreakAfterAttributes: Never
BreakAdjacentStringLiterals: false
BracedInitializerIndentWidth: 2
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: Always
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: true
BeforeWhile: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BitFieldColonSpacing: Both
UseTab: Never
TabWidth: 4
Standard: c++20
SpacesInSquareBrackets: false
SpacesInParensOptions:
ExceptDoubleParentheses: false
InConditionalStatements: false
InCStyleCasts: false
InEmptyParentheses: false
Other: false
SpacesInParens: Never
SpacesInLineCommentPrefix:
Maximum: -1
Minimum: 1
SpacesInContainerLiterals: false
SpacesInAngles: Never
SpacesBeforeTrailingComments: 3
SpaceInEmptyBlock: false
SpaceBeforeSquareBrackets: false
SpaceBeforeRangeBasedForLoopColon: false
SpaceBeforeJsonColon: false
AlignConsecutiveTableGenBreakingDAGArgColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenCondOperatorColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenDefinitionColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignEscapedNewlines: LeftWithLastLine
AlignOperands: Align
AlignTrailingComments:
Kind: Always
OverEmptyLines: 1
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
VerilogBreakBetweenInstancePorts: false
TableGenBreakInsideDAGArg: BreakAll
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: false
AfterFunctionDeclarationName: false
BeforeNonEmptyParentheses: false
AfterRequiresInExpression: false
AfterRequiresInClause: false
AfterPlacementOperator: false
AfterOverloadedOperator: false
AfterIfMacros: false
AfterFunctionDefinitionName: false
SpaceBeforeInheritanceColon: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCaseColon: false
SpaceBeforeAssignmentOperators: true
SpaceAroundPointerQualifiers: Default
SpaceAfterTemplateKeyword: true
SpaceAfterLogicalNot: false
SpaceAfterCStyleCast: false
SortUsingDeclarations: LexicographicNumeric
SortJavaStaticImport: Before
SortIncludes: CaseInsensitive
SkipMacroDefinitionBody: true
ShortNamespaceLines: 0
SeparateDefinitionBlocks: Always
RequiresExpressionIndentation: OuterScope
RequiresClausePosition: SingleLine
RemoveSemicolon: true
RemoveParentheses: ReturnStatement
RemoveBracesLLVM: false
ReflowComments: true
ReferenceAlignment: Left
QualifierAlignment: Left
PointerAlignment: Left
PPIndentWidth: 4
PackConstructorInitializers: Never
ObjCSpaceBeforeProtocolList: false
NamespaceIndentation: None
MaxEmptyLinesToKeep: 1
MainIncludeChar: Any
LineEnding: CRLF
Language: Cpp
LambdaBodyIndentation: Signature
KeepEmptyLines:
AtEndOfFile: true
AtStartOfBlock: false
AtStartOfFile: false
InsertTrailingCommas: None
InsertNewlineAtEOF: true
InsertBraces: true
IndentWrappedFunctionNames: true
IndentWidth: 4
IndentRequiresClause: false
IndentPPDirectives: BeforeHash
IndentGotoLabels: false
IndentExternBlock: AfterExternBlock
IndentCaseLabels: false
IndentCaseBlocks: false
IndentAccessModifiers: false
ColumnLimit: 120
BreakTemplateDeclarations: Yes
BreakStringLiterals: false
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: Always
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
IncludeBlocks: Merge
AccessModifierOffset: -4
AllowBreakBeforeNoexceptSpecifier: Never
AllowShortBlocksOnASingleLine: Always
AllowShortCaseExpressionOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: true
AlwaysBreakBeforeMultilineStrings: true
BinPackArguments: false
BinPackParameters: false