1
1
---
2
2
Language : Cpp
3
- # BasedOnStyle: Chromium
4
3
AccessModifierOffset : -2
5
4
AlignAfterOpenBracket : Align
6
- AlignConsecutiveMacros : false
7
- AlignConsecutiveAssignments : false
8
- AlignConsecutiveBitFields : false
9
- AlignConsecutiveDeclarations : false
5
+ AlignArrayOfStructures : None
6
+ AlignConsecutiveAssignments :
7
+ Enabled : false
8
+ AcrossEmptyLines : false
9
+ AcrossComments : false
10
+ AlignCompound : false
11
+ AlignFunctionPointers : false
12
+ PadOperators : false
13
+ AlignConsecutiveBitFields :
14
+ Enabled : false
15
+ AcrossEmptyLines : false
16
+ AcrossComments : false
17
+ AlignCompound : false
18
+ AlignFunctionPointers : false
19
+ PadOperators : false
20
+ AlignConsecutiveDeclarations :
21
+ Enabled : false
22
+ AcrossEmptyLines : false
23
+ AcrossComments : false
24
+ AlignCompound : false
25
+ AlignFunctionPointers : false
26
+ PadOperators : false
27
+ AlignConsecutiveMacros :
28
+ Enabled : false
29
+ AcrossEmptyLines : false
30
+ AcrossComments : false
31
+ AlignCompound : false
32
+ AlignFunctionPointers : false
33
+ PadOperators : false
34
+ AlignConsecutiveShortCaseStatements :
35
+ Enabled : false
36
+ AcrossEmptyLines : false
37
+ AcrossComments : false
38
+ AlignCaseColons : false
10
39
AlignEscapedNewlines : DontAlign
11
40
AlignOperands : DontAlign
12
- AlignTrailingComments : false
41
+ AlignTrailingComments :
42
+ Kind : Never
43
+ OverEmptyLines : 0
13
44
AllowAllArgumentsOnNextLine : true
14
- AllowAllConstructorInitializersOnNextLine : false
15
45
AllowAllParametersOfDeclarationOnNextLine : true
16
- AllowShortEnumsOnASingleLine : false
46
+ AllowBreakBeforeNoexceptSpecifier : OnlyWithParen
17
47
AllowShortBlocksOnASingleLine : Empty
18
48
AllowShortCaseLabelsOnASingleLine : false
49
+ AllowShortCompoundRequirementOnASingleLine : true
50
+ AllowShortEnumsOnASingleLine : false
19
51
AllowShortFunctionsOnASingleLine : Inline
20
- AllowShortLambdasOnASingleLine : All
21
52
AllowShortIfStatementsOnASingleLine : Never
53
+ AllowShortLambdasOnASingleLine : All
22
54
AllowShortLoopsOnASingleLine : false
23
55
AlwaysBreakAfterDefinitionReturnType : None
24
56
AlwaysBreakAfterReturnType : None
25
57
AlwaysBreakBeforeMultilineStrings : true
26
58
AlwaysBreakTemplateDeclarations : Yes
59
+ AttributeMacros :
60
+ - __capability
27
61
BinPackArguments : false
28
62
BinPackParameters : false
63
+ BitFieldColonSpacing : Both
29
64
BraceWrapping :
30
65
AfterCaseLabel : false
31
66
AfterClass : true
32
67
AfterControlStatement : MultiLine
33
68
AfterEnum : {% if cpp %}true{% else %}false{% end %}
69
+ AfterExternBlock : {% if cpp %}true{% else %}false{% end %}
34
70
AfterFunction : true
35
71
AfterNamespace : true
36
72
AfterObjCDeclaration : false
37
73
AfterStruct : {% if cpp %}true{% else %}false{% end %}
38
74
AfterUnion : {% if cpp %}true{% else %}false{% end %}
39
- AfterExternBlock : {% if cpp %}true{% else %}false{% end %}
40
75
BeforeCatch : false
41
76
BeforeElse : false
42
77
BeforeLambdaBody : true
@@ -45,55 +80,82 @@ BraceWrapping:
45
80
SplitEmptyFunction : true
46
81
SplitEmptyRecord : true
47
82
SplitEmptyNamespace : true
83
+ BreakAdjacentStringLiterals : false
84
+ BreakAfterAttributes : Leave
85
+ BreakAfterJavaFieldAnnotations : true
86
+ BreakArrays : true
48
87
BreakBeforeBinaryOperators : NonAssignment
88
+ BreakBeforeConceptDeclarations : Always
49
89
BreakBeforeBraces : Custom
50
- # BreakBeforeInheritanceComma: true
51
- BreakInheritanceList : BeforeComma
90
+ BreakBeforeInlineASMColon : OnlyMultiline
52
91
BreakBeforeTernaryOperators : true
53
- BreakConstructorInitializersBeforeComma : true
54
92
BreakConstructorInitializers : BeforeComma
55
- BreakAfterJavaFieldAnnotations : true
93
+ BreakInheritanceList : BeforeComma
56
94
BreakStringLiterals : true
57
95
ColumnLimit : 80
58
96
CommentPragmas : ' ^ IWYU pragma:'
59
97
CompactNamespaces : false
60
- ConstructorInitializerAllOnOneLineOrOnePerLine : false
61
98
ConstructorInitializerIndentWidth : 4
62
99
ContinuationIndentWidth : 4
63
100
Cpp11BracedListStyle : true
64
- DeriveLineEnding : false
65
101
DerivePointerAlignment : false
66
102
DisableFormat : false
103
+ EmptyLineAfterAccessModifier : Never
104
+ EmptyLineBeforeAccessModifier : LogicalBlock
67
105
ExperimentalAutoDetectBinPacking : false
68
106
FixNamespaceComments : true
69
107
ForEachMacros :
70
108
- foreach
71
109
- Q_FOREACH
72
110
- BOOST_FOREACH
111
+ IfMacros :
112
+ - KJ_IF_MAYBE
73
113
IncludeBlocks : Regroup
74
114
IncludeCategories:{% if cpp %}
75
115
# Standard library headers come before anything else
76
116
- Regex : ' ^<[a-z_]+>'
77
- Priority : -1{% end %}
117
+ Priority : -1
118
+ SortPriority : 0
119
+ CaseSensitive : false{% end %}
78
120
- Regex : ' ^<.+\.h{% if cpp %}(pp)?{% end %}>'
79
- Priority : 1{% if cpp %}
121
+ Priority : 1
122
+ SortPriority : 0
123
+ CaseSensitive : false{% if cpp %}
80
124
- Regex : ' ^<.*'
81
- Priority : 2{% end %}
125
+ Priority : 2
126
+ SortPriority : 0
127
+ CaseSensitive : false{% end %}
82
128
- Regex : ' .*'
83
129
Priority : {% if cpp %}3{% else %}2{% end %}
130
+ SortPriority : 0
131
+ CaseSensitive : false
84
132
IncludeIsMainRegex : ' '
85
133
IncludeIsMainSourceRegex : ' '
86
- IndentCaseLabels : true
134
+ IndentAccessModifiers : false
87
135
IndentCaseBlocks : false
136
+ IndentCaseLabels : true
137
+ IndentExternBlock : NoIndent
88
138
IndentGotoLabels : true
89
139
IndentPPDirectives : AfterHash
90
- IndentExternBlock : NoIndent
140
+ IndentRequiresClause : true
91
141
IndentWidth : 2
92
142
IndentWrappedFunctionNames : false
143
+ InsertBraces : true
144
+ InsertNewlineAtEOF : true
93
145
InsertTrailingCommas : Wrapped
146
+ IntegerLiteralSeparator :
147
+ Binary : 0
148
+ BinaryMinDigits : 0
149
+ Decimal : 0
150
+ DecimalMinDigits : 0
151
+ Hex : 0
152
+ HexMinDigits : 0
94
153
JavaScriptQuotes : Double
95
154
JavaScriptWrapImports : true
96
155
KeepEmptyLinesAtTheStartOfBlocks : false
156
+ KeepEmptyLinesAtEOF : false
157
+ LambdaBodyIndentation : Signature
158
+ LineEnding : LF
97
159
MacroBlockBegin : ' '
98
160
MacroBlockEnd : ' '
99
161
MaxEmptyLinesToKeep : 1
@@ -103,15 +165,21 @@ ObjCBlockIndentWidth: 2
103
165
ObjCBreakBeforeNestedBlockParam : true
104
166
ObjCSpaceAfterProperty : false
105
167
ObjCSpaceBeforeProtocolList : true
168
+ PackConstructorInitializers : Never
106
169
PenaltyBreakAssignment : 2
107
170
PenaltyBreakBeforeFirstCallParameter : 1
108
171
PenaltyBreakComment : 300
109
172
PenaltyBreakFirstLessLess : 120
173
+ PenaltyBreakOpenParenthesis : 0
174
+ PenaltyBreakScopeResolution : 500
110
175
PenaltyBreakString : 1000
111
176
PenaltyBreakTemplateDeclaration : 10
112
177
PenaltyExcessCharacter : 1000000
178
+ PenaltyIndentedWhitespace : 0
113
179
PenaltyReturnTypeOnItsOwnLine : 200
114
180
PointerAlignment : Left
181
+ PPIndentWidth : -1
182
+ QualifierAlignment : Leave
115
183
RawStringFormats :
116
184
- Language : Cpp
117
185
Delimiters :
@@ -142,35 +210,66 @@ RawStringFormats:
142
210
- ParsePartialTestProto
143
211
CanonicalDelimiter : ' '
144
212
BasedOnStyle : google
213
+ ReferenceAlignment : Pointer
145
214
ReflowComments : true
146
- SortIncludes : true
147
- SortUsingDeclarations : true
215
+ RemoveBracesLLVM : false
216
+ RemoveParentheses : Leave
217
+ RemoveSemicolon : false
218
+ RequiresClausePosition : OwnLine
219
+ RequiresExpressionIndentation : OuterScope
220
+ SeparateDefinitionBlocks : Always
221
+ ShortNamespaceLines : 1
222
+ SkipMacroDefinitionBody : false
223
+ SortIncludes : CaseSensitive
224
+ SortJavaStaticImport : Before
225
+ SortUsingDeclarations : LexicographicNumeric
148
226
SpaceAfterCStyleCast : false
149
227
SpaceAfterLogicalNot : false
150
228
SpaceAfterTemplateKeyword : false
229
+ SpaceAroundPointerQualifiers : Default
151
230
SpaceBeforeAssignmentOperators : true
231
+ SpaceBeforeCaseColon : false
152
232
SpaceBeforeCpp11BracedList : true
153
233
SpaceBeforeCtorInitializerColon : true
154
234
SpaceBeforeInheritanceColon : true
155
- SpaceBeforeParens : ControlStatementsExceptForEachMacros
235
+ SpaceBeforeJsonColon : false
236
+ SpaceBeforeParens : ControlStatementsExceptControlMacros
237
+ SpaceBeforeParensOptions :
238
+ AfterControlStatements : true
239
+ AfterForeachMacros : false
240
+ AfterFunctionDefinitionName : false
241
+ AfterFunctionDeclarationName : false
242
+ AfterIfMacros : false
243
+ AfterOverloadedOperator : false
244
+ AfterPlacementOperator : true
245
+ AfterRequiresInClause : false
246
+ AfterRequiresInExpression : false
247
+ BeforeNonEmptyParentheses : false
156
248
SpaceBeforeRangeBasedForLoopColon : true
249
+ SpaceBeforeSquareBrackets : false
157
250
SpaceInEmptyBlock : false
158
- SpaceInEmptyParentheses : false
159
251
SpacesBeforeTrailingComments : 2
160
- SpacesInAngles : false
161
- SpacesInConditionalStatement : false
252
+ SpacesInAngles : Never
162
253
SpacesInContainerLiterals : false
163
- SpacesInCStyleCastParentheses : false
164
- SpacesInParentheses : false
254
+ SpacesInLineCommentPrefix :
255
+ Minimum : 1
256
+ Maximum : -1
257
+ SpacesInParens : Never
258
+ SpacesInParensOptions :
259
+ InCStyleCasts : false
260
+ InConditionalStatements : false
261
+ InEmptyParentheses : false
262
+ Other : false
165
263
SpacesInSquareBrackets : false
166
- SpaceBeforeSquareBrackets : false
167
264
Standard : Auto
265
+ StatementAttributeLikeMacros :
266
+ - Q_EMIT
168
267
StatementMacros :
169
268
- Q_UNUSED
170
269
- QT_REQUIRE_VERSION
171
270
TabWidth : 8
172
- UseCRLF : false
173
271
UseTab : Never
272
+ VerilogBreakBetweenInstancePorts : true
174
273
WhitespaceSensitiveMacros :
175
274
- STRINGIZE
176
275
- PP_STRINGIZE
0 commit comments