@@ -3,52 +3,96 @@ Language: Cpp
3
3
# BasedOnStyle: Google
4
4
AccessModifierOffset : -4
5
5
AlignAfterOpenBracket : Align
6
- AlignConsecutiveMacros : true
7
- AlignConsecutiveAssignments : false
8
- AlignConsecutiveDeclarations : false
6
+ AlignArrayOfStructures : None
7
+ AlignConsecutiveAssignments :
8
+ Enabled : false
9
+ AcrossEmptyLines : false
10
+ AcrossComments : false
11
+ AlignCompound : false
12
+ AlignFunctionPointers : false
13
+ PadOperators : true
14
+ AlignConsecutiveBitFields :
15
+ Enabled : false
16
+ AcrossEmptyLines : false
17
+ AcrossComments : false
18
+ AlignCompound : false
19
+ AlignFunctionPointers : false
20
+ PadOperators : false
21
+ AlignConsecutiveDeclarations :
22
+ Enabled : false
23
+ AcrossEmptyLines : false
24
+ AcrossComments : false
25
+ AlignCompound : false
26
+ AlignFunctionPointers : false
27
+ PadOperators : true
28
+ AlignConsecutiveMacros :
29
+ Enabled : true
30
+ AcrossEmptyLines : false
31
+ AcrossComments : false
32
+ AlignCompound : false
33
+ AlignFunctionPointers : false
34
+ PadOperators : true
35
+ AlignConsecutiveShortCaseStatements :
36
+ Enabled : false
37
+ AcrossEmptyLines : false
38
+ AcrossComments : false
39
+ AlignCaseColons : false
9
40
AlignEscapedNewlines : Left
10
- AlignOperands : true
11
- AlignTrailingComments : true
41
+ AlignOperands : Align
42
+ AlignTrailingComments :
43
+ Kind : Always
44
+ OverEmptyLines : 0
12
45
AllowAllArgumentsOnNextLine : true
13
46
AllowAllConstructorInitializersOnNextLine : true
14
47
AllowAllParametersOfDeclarationOnNextLine : true
15
- AllowShortBlocksOnASingleLine : false
48
+ AllowBreakBeforeNoexceptSpecifier : Never
49
+ AllowShortBlocksOnASingleLine : Never
16
50
AllowShortCaseLabelsOnASingleLine : true
51
+ AllowShortCompoundRequirementOnASingleLine : true
52
+ AllowShortEnumsOnASingleLine : true
17
53
AllowShortFunctionsOnASingleLine : All
18
- AllowShortLambdasOnASingleLine : All
19
54
AllowShortIfStatementsOnASingleLine : Never
55
+ AllowShortLambdasOnASingleLine : All
20
56
AllowShortLoopsOnASingleLine : false
21
57
AlwaysBreakAfterDefinitionReturnType : None
22
58
AlwaysBreakAfterReturnType : None
23
59
AlwaysBreakBeforeMultilineStrings : false
24
60
AlwaysBreakTemplateDeclarations : Yes
25
61
BinPackArguments : true
26
62
BinPackParameters : true
63
+ BitFieldColonSpacing : Both
27
64
BraceWrapping :
28
65
AfterCaseLabel : false
29
66
AfterClass : true
30
- AfterControlStatement : false
67
+ AfterControlStatement : Never
31
68
AfterEnum : false
69
+ AfterExternBlock : false
32
70
AfterFunction : true
33
71
AfterNamespace : false
34
72
AfterObjCDeclaration : true
35
73
AfterStruct : true
36
74
AfterUnion : true
37
- AfterExternBlock : false
38
75
BeforeCatch : false
39
76
BeforeElse : false
77
+ BeforeLambdaBody : false
78
+ BeforeWhile : false
40
79
IndentBraces : false
41
80
SplitEmptyFunction : false
42
81
SplitEmptyRecord : false
43
82
SplitEmptyNamespace : false
83
+ BreakAdjacentStringLiterals : true
84
+ BreakAfterAttributes : Leave
85
+ BreakAfterJavaFieldAnnotations : false
86
+ BreakArrays : true
44
87
BreakBeforeBinaryOperators : None
88
+ BreakBeforeConceptDeclarations : Always
45
89
BreakBeforeBraces : Custom
46
90
BreakBeforeInheritanceComma : false
47
- BreakInheritanceList : BeforeColon
91
+ BreakBeforeInlineASMColon : OnlyMultiline
48
92
BreakBeforeTernaryOperators : true
49
93
BreakConstructorInitializersBeforeComma : false
50
94
BreakConstructorInitializers : AfterColon
51
- BreakAfterJavaFieldAnnotations : false
95
+ BreakInheritanceList : BeforeColon
52
96
BreakStringLiterals : true
53
97
ColumnLimit : 120
54
98
CommentPragmas : ' ^ IWYU pragma:'
@@ -59,6 +103,8 @@ ContinuationIndentWidth: 4
59
103
Cpp11BracedListStyle : true
60
104
DerivePointerAlignment : false
61
105
DisableFormat : false
106
+ EmptyLineAfterAccessModifier : Never
107
+ EmptyLineBeforeAccessModifier : LogicalBlock
62
108
ExperimentalAutoDetectBinPacking : false
63
109
FixNamespaceComments : true
64
110
ForEachMacros :
@@ -71,93 +117,123 @@ IncludeCategories:
71
117
- Regex : ' ^"[a-zA-Z0-9_]*\.'
72
118
Priority : 1
73
119
SortPriority : 1
120
+ CaseSensitive : false
74
121
- Regex : ' ^"testutils/'
75
122
Priority : 2
76
123
SortPriority : 2
124
+ CaseSensitive : false
77
125
- Regex : ' ^"tron/'
78
126
Priority : 2
79
127
SortPriority : 3
128
+ CaseSensitive : false
80
129
- Regex : ' ^"fmi/'
81
130
Priority : 2
82
131
SortPriority : 4
132
+ CaseSensitive : false
83
133
- Regex : ' ^"verifier/'
84
134
Priority : 2
85
135
SortPriority : 5
136
+ CaseSensitive : false
86
137
- Regex : ' ^"cora/'
87
138
Priority : 2
88
139
SortPriority : 6
140
+ CaseSensitive : false
89
141
- Regex : ' ^"tiga/'
90
142
Priority : 2
91
143
SortPriority : 7
144
+ CaseSensitive : false
92
145
- Regex : ' ^"statmc/'
93
146
Priority : 2
94
147
SortPriority : 8
148
+ CaseSensitive : false
95
149
- Regex : ' ^"xmltrace/'
96
150
Priority : 2
97
151
SortPriority : 9
152
+ CaseSensitive : false
98
153
- Regex : ' ^"pipeline/'
99
154
Priority : 2
100
155
SortPriority : 10
156
+ CaseSensitive : false
101
157
- Regex : ' ^"protocol/'
102
158
Priority : 2
103
159
SortPriority : 11
160
+ CaseSensitive : false
104
161
- Regex : ' ^"storage/'
105
162
Priority : 2
106
163
SortPriority : 12
164
+ CaseSensitive : false
107
165
- Regex : ' ^"system/'
108
166
Priority : 2
109
167
SortPriority : 13
168
+ CaseSensitive : false
110
169
- Regex : ' ^"dbm/'
111
170
Priority : 2
112
171
SortPriority : 14
172
+ CaseSensitive : false
113
173
- Regex : ' ^"cdd/'
114
174
Priority : 2
115
175
SortPriority : 15
176
+ CaseSensitive : false
116
177
- Regex : ' ^"polyhedra/'
117
178
Priority : 2
118
179
SortPriority : 16
180
+ CaseSensitive : false
119
181
- Regex : ' ^"tracer/'
120
182
Priority : 2
121
183
SortPriority : 17
184
+ CaseSensitive : false
122
185
- Regex : ' ^"utap/'
123
186
Priority : 2
124
187
SortPriority : 18
188
+ CaseSensitive : false
125
189
- Regex : ' ^"io/'
126
190
Priority : 2
127
191
SortPriority : 19
192
+ CaseSensitive : false
128
193
- Regex : ' ^"formats/'
129
194
Priority : 2
130
195
SortPriority : 20
196
+ CaseSensitive : false
131
197
- Regex : ' ^"base/'
132
198
Priority : 2
133
199
SortPriority : 21
200
+ CaseSensitive : false
134
201
- Regex : ' ^"hash/'
135
202
Priority : 2
136
203
SortPriority : 22
204
+ CaseSensitive : false
137
205
- Regex : ' ^"debug/'
138
206
Priority : 2
139
207
SortPriority : 23
208
+ CaseSensitive : false
140
209
- Regex : ' ^<libstrategy/'
141
210
Priority : 3
142
211
SortPriority : 24
212
+ CaseSensitive : false
143
213
- Regex : ' ^<licensing/'
144
214
Priority : 3
145
215
SortPriority : 25
216
+ CaseSensitive : false
146
217
- Regex : ' ^<prlearn/'
147
218
Priority : 3
148
219
SortPriority : 26
220
+ CaseSensitive : false
149
221
- Regex : ' ^<ap_'
150
222
Priority : 3
151
223
SortPriority : 27
224
+ CaseSensitive : false
152
225
- Regex : ' ^<libxml/'
153
226
Priority : 3
154
227
SortPriority : 28
228
+ CaseSensitive : false
155
229
- Regex : ' ^<boost/'
156
230
Priority : 3
157
231
SortPriority : 29
232
+ CaseSensitive : false
158
233
- Regex : ' ^<doctest/'
159
234
Priority : 3
160
235
SortPriority : 30
236
+ CaseSensitive : false
161
237
- Regex : ' ^<[a-bd-z0-9][a-z0-9_]*(\.[a-z]*)?>$'
162
238
Priority : 4
163
239
SortPriority : 30
@@ -166,29 +242,52 @@ IncludeCategories:
166
242
# SortPriority: 31
167
243
# IncludeIsMainRegex: '([-_](test|unittest))?$'
168
244
IndentCaseLabels : false
245
+ IndentExternBlock : AfterExternBlock
246
+ IndentGotoLabels : true
169
247
IndentPPDirectives : None
248
+ IndentRequiresClause : true
170
249
IndentWidth : 4
171
250
IndentWrappedFunctionNames : false
251
+ InsertBraces : false
252
+ InsertNewlineAtEOF : false
253
+ InsertTrailingCommas : None
254
+ IntegerLiteralSeparator :
255
+ Binary : 0
256
+ BinaryMinDigits : 0
257
+ Decimal : 0
258
+ DecimalMinDigits : 0
259
+ Hex : 0
260
+ HexMinDigits : 0
172
261
JavaScriptQuotes : Leave
173
262
JavaScriptWrapImports : true
174
263
KeepEmptyLinesAtTheStartOfBlocks : false
264
+ KeepEmptyLinesAtEOF : false
265
+ LambdaBodyIndentation : Signature
266
+ LineEnding : DeriveLF
175
267
MacroBlockBegin : ' '
176
268
MacroBlockEnd : ' '
177
269
MaxEmptyLinesToKeep : 1
178
270
NamespaceIndentation : None
179
271
ObjCBinPackProtocolList : Never
180
272
ObjCBlockIndentWidth : 2
273
+ ObjCBreakBeforeNestedBlockParam : true
181
274
ObjCSpaceAfterProperty : false
182
275
ObjCSpaceBeforeProtocolList : true
276
+ PackConstructorInitializers : BinPack
183
277
PenaltyBreakAssignment : 2
184
278
PenaltyBreakBeforeFirstCallParameter : 1
185
279
PenaltyBreakComment : 300
186
280
PenaltyBreakFirstLessLess : 120
281
+ PenaltyBreakOpenParenthesis : 0
282
+ PenaltyBreakScopeResolution : 500
187
283
PenaltyBreakString : 1000
188
284
PenaltyBreakTemplateDeclaration : 10
189
285
PenaltyExcessCharacter : 1000000
286
+ PenaltyIndentedWhitespace : 0
190
287
PenaltyReturnTypeOnItsOwnLine : 200
191
288
PointerAlignment : Left
289
+ PPIndentWidth : -1
290
+ QualifierAlignment : Leave
192
291
RawStringFormats :
193
292
- Language : Cpp
194
293
Delimiters :
@@ -216,27 +315,59 @@ RawStringFormats:
216
315
- ParseTextOrDie
217
316
- ParseTextProtoOrDie
218
317
CanonicalDelimiter : ' '
318
+ BasedOnStyle : ' '
319
+ ReferenceAlignment : Pointer
219
320
ReflowComments : true
220
- # SortIncludes: true
221
- SortIncludes : false
222
- SortUsingDeclarations : false
321
+ RemoveBracesLLVM : false
322
+ RemoveParentheses : Leave
323
+ RemoveSemicolon : false
324
+ RequiresClausePosition : OwnLine
325
+ RequiresExpressionIndentation : OuterScope
326
+ SeparateDefinitionBlocks : Leave
327
+ ShortNamespaceLines : 1
328
+ SkipMacroDefinitionBody : false
329
+ SortIncludes : Never
330
+ SortJavaStaticImport : Before
331
+ SortUsingDeclarations : Never
223
332
SpaceAfterCStyleCast : false
224
333
SpaceAfterLogicalNot : false
225
334
SpaceAfterTemplateKeyword : true
335
+ SpaceAroundPointerQualifiers : Default
226
336
SpaceBeforeAssignmentOperators : true
337
+ SpaceBeforeCaseColon : false
227
338
SpaceBeforeCpp11BracedList : false
228
339
SpaceBeforeCtorInitializerColon : false
229
340
SpaceBeforeInheritanceColon : true
341
+ SpaceBeforeJsonColon : false
230
342
SpaceBeforeParens : ControlStatements
343
+ SpaceBeforeParensOptions :
344
+ AfterControlStatements : true
345
+ AfterForeachMacros : true
346
+ AfterFunctionDefinitionName : false
347
+ AfterFunctionDeclarationName : false
348
+ AfterIfMacros : true
349
+ AfterOverloadedOperator : false
350
+ AfterPlacementOperator : true
351
+ AfterRequiresInClause : false
352
+ AfterRequiresInExpression : false
353
+ BeforeNonEmptyParentheses : false
231
354
SpaceBeforeRangeBasedForLoopColon : true
232
- SpaceInEmptyParentheses : false
355
+ SpaceBeforeSquareBrackets : false
356
+ SpaceInEmptyBlock : false
233
357
SpacesBeforeTrailingComments : 2
234
- SpacesInAngles : false
358
+ SpacesInAngles : Never
235
359
SpacesInContainerLiterals : true
236
360
SpacesInCStyleCastParentheses : false
237
- SpacesInParentheses : false
361
+ SpacesInParens : Never
362
+ SpacesInParensOptions :
363
+ InCStyleCasts : false
364
+ InConditionalStatements : false
365
+ InEmptyParentheses : false
366
+ Other : false
238
367
SpacesInSquareBrackets : false
239
368
Standard : Auto
369
+ StatementAttributeLikeMacros :
370
+ - Q_EMIT
240
371
StatementMacros :
241
372
- Q_UNUSED
242
373
- QT_REQUIRE_VERSION
0 commit comments