1
1
---
2
- Language : Cpp
2
+ Language : Cpp
3
3
# BasedOnStyle: Google
4
4
AccessModifierOffset : -1
5
5
AlignAfterOpenBracket : Align
6
6
AlignArrayOfStructures : None
7
7
AlignConsecutiveAssignments :
8
- Enabled : false
8
+ Enabled : false
9
9
AcrossEmptyLines : false
10
- AcrossComments : false
11
- AlignCompound : false
12
- PadOperators : true
10
+ AcrossComments : false
11
+ AlignCompound : false
12
+ PadOperators : true
13
13
AlignConsecutiveBitFields :
14
- Enabled : false
14
+ Enabled : false
15
15
AcrossEmptyLines : false
16
- AcrossComments : false
17
- AlignCompound : false
18
- PadOperators : false
16
+ AcrossComments : false
17
+ AlignCompound : false
18
+ PadOperators : false
19
19
AlignConsecutiveDeclarations :
20
- Enabled : false
20
+ Enabled : false
21
21
AcrossEmptyLines : false
22
- AcrossComments : false
23
- AlignCompound : false
24
- PadOperators : false
22
+ AcrossComments : false
23
+ AlignCompound : false
24
+ PadOperators : false
25
25
AlignConsecutiveMacros :
26
- Enabled : false
26
+ Enabled : false
27
27
AcrossEmptyLines : false
28
- AcrossComments : false
29
- AlignCompound : false
30
- PadOperators : false
28
+ AcrossComments : false
29
+ AlignCompound : false
30
+ PadOperators : false
31
31
AlignEscapedNewlines : Left
32
- AlignOperands : Align
32
+ AlignOperands : Align
33
33
AlignTrailingComments :
34
- Kind : Always
35
- OverEmptyLines : 0
34
+ Kind : Always
35
+ OverEmptyLines : 0
36
36
AllowAllArgumentsOnNextLine : true
37
37
AllowAllParametersOfDeclarationOnNextLine : true
38
38
AllowShortBlocksOnASingleLine : Never
@@ -52,27 +52,27 @@ BinPackArguments: true
52
52
BinPackParameters : true
53
53
BitFieldColonSpacing : Both
54
54
BraceWrapping :
55
- AfterCaseLabel : false
56
- AfterClass : false
55
+ AfterCaseLabel : false
56
+ AfterClass : false
57
57
AfterControlStatement : Never
58
- AfterEnum : false
58
+ AfterEnum : false
59
59
AfterExternBlock : false
60
- AfterFunction : false
61
- AfterNamespace : false
60
+ AfterFunction : false
61
+ AfterNamespace : false
62
62
AfterObjCDeclaration : false
63
- AfterStruct : false
64
- AfterUnion : false
65
- BeforeCatch : false
66
- BeforeElse : false
63
+ AfterStruct : false
64
+ AfterUnion : false
65
+ BeforeCatch : false
66
+ BeforeElse : false
67
67
BeforeLambdaBody : false
68
- BeforeWhile : false
69
- IndentBraces : false
68
+ BeforeWhile : false
69
+ IndentBraces : false
70
70
SplitEmptyFunction : true
71
71
SplitEmptyRecord : true
72
72
SplitEmptyNamespace : true
73
73
BreakAfterAttributes : Never
74
74
BreakAfterJavaFieldAnnotations : false
75
- BreakArrays : true
75
+ BreakArrays : true
76
76
BreakBeforeBinaryOperators : None
77
77
BreakBeforeConceptDeclarations : Always
78
78
BreakBeforeBraces : Attach
@@ -81,14 +81,14 @@ BreakBeforeTernaryOperators: true
81
81
BreakConstructorInitializers : BeforeColon
82
82
BreakInheritanceList : BeforeColon
83
83
BreakStringLiterals : true
84
- ColumnLimit : 80
85
- CommentPragmas : ' ^ IWYU pragma:'
84
+ ColumnLimit : 120
85
+ CommentPragmas : " ^ IWYU pragma:"
86
86
CompactNamespaces : false
87
87
ConstructorInitializerIndentWidth : 4
88
88
ContinuationIndentWidth : 4
89
89
Cpp11BracedListStyle : true
90
90
DerivePointerAlignment : true
91
- DisableFormat : false
91
+ DisableFormat : false
92
92
EmptyLineAfterAccessModifier : Never
93
93
EmptyLineBeforeAccessModifier : LogicalBlock
94
94
ExperimentalAutoDetectBinPacking : false
@@ -99,49 +99,49 @@ ForEachMacros:
99
99
- BOOST_FOREACH
100
100
IfMacros :
101
101
- KJ_IF_MAYBE
102
- IncludeBlocks : Regroup
102
+ IncludeBlocks : Regroup
103
103
IncludeCategories :
104
- - Regex : ' ^<ext/.*\.h>'
105
- Priority : 2
106
- SortPriority : 0
107
- CaseSensitive : false
108
- - Regex : ' ^<.*\.h>'
109
- Priority : 1
110
- SortPriority : 0
111
- CaseSensitive : false
112
- - Regex : ' ^<.*'
113
- Priority : 2
114
- SortPriority : 0
115
- CaseSensitive : false
116
- - Regex : ' .* '
117
- Priority : 3
118
- SortPriority : 0
119
- CaseSensitive : false
120
- IncludeIsMainRegex : ' ([-_](test|unittest))?$'
121
- IncludeIsMainSourceRegex : ' '
104
+ - Regex : ' ^<ext/.*\.h>'
105
+ Priority : 2
106
+ SortPriority : 0
107
+ CaseSensitive : false
108
+ - Regex : ' ^<.*\.h>'
109
+ Priority : 1
110
+ SortPriority : 0
111
+ CaseSensitive : false
112
+ - Regex : " ^<.*"
113
+ Priority : 2
114
+ SortPriority : 0
115
+ CaseSensitive : false
116
+ - Regex : " .* "
117
+ Priority : 3
118
+ SortPriority : 0
119
+ CaseSensitive : false
120
+ IncludeIsMainRegex : " ([-_](test|unittest))?$"
121
+ IncludeIsMainSourceRegex : " "
122
122
IndentAccessModifiers : false
123
123
IndentCaseBlocks : false
124
124
IndentCaseLabels : true
125
125
IndentExternBlock : AfterExternBlock
126
126
IndentGotoLabels : true
127
127
IndentPPDirectives : None
128
128
IndentRequiresClause : true
129
- IndentWidth : 2
129
+ IndentWidth : 2
130
130
IndentWrappedFunctionNames : false
131
- InsertBraces : false
131
+ InsertBraces : false
132
132
InsertNewlineAtEOF : false
133
133
InsertTrailingCommas : None
134
134
IntegerLiteralSeparator :
135
- Binary : 0
136
- Decimal : 0
137
- Hex : 0
135
+ Binary : 0
136
+ Decimal : 0
137
+ Hex : 0
138
138
JavaScriptQuotes : Leave
139
139
JavaScriptWrapImports : true
140
140
KeepEmptyLinesAtTheStartOfBlocks : false
141
141
LambdaBodyIndentation : Signature
142
- LineEnding : DeriveLF
143
- MacroBlockBegin : ' '
144
- MacroBlockEnd : ' '
142
+ LineEnding : DeriveLF
143
+ MacroBlockBegin : " "
144
+ MacroBlockEnd : " "
145
145
MaxEmptyLinesToKeep : 1
146
146
NamespaceIndentation : None
147
147
ObjCBinPackProtocolList : Never
@@ -161,21 +161,21 @@ PenaltyExcessCharacter: 1000000
161
161
PenaltyIndentedWhitespace : 0
162
162
PenaltyReturnTypeOnItsOwnLine : 200
163
163
PointerAlignment : Left
164
- PPIndentWidth : -1
164
+ PPIndentWidth : -1
165
165
QualifierAlignment : Leave
166
166
RawStringFormats :
167
- - Language : Cpp
167
+ - Language : Cpp
168
168
Delimiters :
169
169
- cc
170
170
- CC
171
171
- cpp
172
172
- Cpp
173
173
- CPP
174
- - ' c++'
175
- - ' C++'
176
- CanonicalDelimiter : ' '
177
- BasedOnStyle : google
178
- - Language : TextProto
174
+ - " c++"
175
+ - " C++"
176
+ CanonicalDelimiter : " "
177
+ BasedOnStyle : google
178
+ - Language : TextProto
179
179
Delimiters :
180
180
- pb
181
181
- PB
@@ -192,16 +192,16 @@ RawStringFormats:
192
192
- ParseTestProto
193
193
- ParsePartialTestProto
194
194
CanonicalDelimiter : pb
195
- BasedOnStyle : google
195
+ BasedOnStyle : google
196
196
ReferenceAlignment : Pointer
197
- ReflowComments : true
197
+ ReflowComments : true
198
198
RemoveBracesLLVM : false
199
199
RemoveSemicolon : false
200
200
RequiresClausePosition : OwnLine
201
201
RequiresExpressionIndentation : OuterScope
202
202
SeparateDefinitionBlocks : Leave
203
203
ShortNamespaceLines : 1
204
- SortIncludes : Never
204
+ SortIncludes : Never
205
205
SortJavaStaticImport : Before
206
206
SortUsingDeclarations : LexicographicNumeric
207
207
SpaceAfterCStyleCast : false
@@ -219,7 +219,7 @@ SpaceBeforeParensOptions:
219
219
AfterForeachMacros : true
220
220
AfterFunctionDefinitionName : false
221
221
AfterFunctionDeclarationName : false
222
- AfterIfMacros : true
222
+ AfterIfMacros : true
223
223
AfterOverloadedOperator : false
224
224
AfterRequiresInClause : false
225
225
AfterRequiresInExpression : false
@@ -229,28 +229,28 @@ SpaceBeforeSquareBrackets: false
229
229
SpaceInEmptyBlock : false
230
230
SpaceInEmptyParentheses : false
231
231
SpacesBeforeTrailingComments : 2
232
- SpacesInAngles : Never
232
+ SpacesInAngles : Never
233
233
SpacesInConditionalStatement : false
234
234
SpacesInContainerLiterals : true
235
235
SpacesInCStyleCastParentheses : false
236
236
SpacesInLineCommentPrefix :
237
- Minimum : 1
238
- Maximum : -1
237
+ Minimum : 1
238
+ Maximum : -1
239
239
SpacesInParentheses : false
240
240
SpacesInSquareBrackets : false
241
- Standard : Auto
241
+ Standard : Auto
242
242
StatementAttributeLikeMacros :
243
243
- Q_EMIT
244
244
StatementMacros :
245
245
- Q_UNUSED
246
246
- QT_REQUIRE_VERSION
247
- TabWidth : 8
248
- UseTab : Never
247
+ TabWidth : 8
248
+ UseTab : Never
249
249
WhitespaceSensitiveMacros :
250
250
- BOOST_PP_STRINGIZE
251
251
- CF_SWIFT_NAME
252
252
- NS_SWIFT_NAME
253
253
- PP_STRINGIZE
254
254
- STRINGIZE
255
- ...
255
+ ---
256
256
0 commit comments