@@ -3,7 +3,6 @@ Language: Cpp
3
3
# BasedOnStyle: Google
4
4
AccessModifierOffset : -1
5
5
AlignAfterOpenBracket : Align
6
- AlignArrayOfStructures : None
7
6
AlignConsecutiveMacros : None
8
7
AlignConsecutiveAssignments : None
9
8
AlignConsecutiveBitFields : None
@@ -12,6 +11,7 @@ AlignEscapedNewlines: Left
12
11
AlignOperands : Align
13
12
AlignTrailingComments : true
14
13
AllowAllArgumentsOnNextLine : true
14
+ AllowAllConstructorInitializersOnNextLine : true
15
15
AllowAllParametersOfDeclarationOnNextLine : true
16
16
AllowShortEnumsOnASingleLine : true
17
17
AllowShortBlocksOnASingleLine : Never
@@ -59,28 +59,23 @@ BreakAfterJavaFieldAnnotations: false
59
59
BreakStringLiterals : true
60
60
ColumnLimit : 80
61
61
CommentPragmas : ' ^ IWYU pragma:'
62
- QualifierAlignment : Leave
63
62
CompactNamespaces : false
63
+ ConstructorInitializerAllOnOneLineOrOnePerLine : true
64
64
ConstructorInitializerIndentWidth : 4
65
65
ContinuationIndentWidth : 4
66
66
Cpp11BracedListStyle : true
67
67
DeriveLineEnding : true
68
68
DerivePointerAlignment : true
69
69
DisableFormat : false
70
- EmptyLineAfterAccessModifier : Never
71
70
EmptyLineBeforeAccessModifier : LogicalBlock
72
71
ExperimentalAutoDetectBinPacking : false
73
- PackConstructorInitializers : NextLine
74
- BasedOnStyle : ' '
75
- ConstructorInitializerAllOnOneLineOrOnePerLine : false
76
- AllowAllConstructorInitializersOnNextLine : true
77
72
FixNamespaceComments : true
78
73
ForEachMacros :
79
74
- foreach
80
75
- Q_FOREACH
81
76
- BOOST_FOREACH
82
- IfMacros :
83
- - KJ_IF_MAYBE
77
+ StatementAttributeLikeMacros :
78
+ - Q_EMIT
84
79
IncludeBlocks : Regroup
85
80
IncludeCategories :
86
81
- Regex : ' ^<ext/.*\.h>'
@@ -101,7 +96,6 @@ IncludeCategories:
101
96
CaseSensitive : false
102
97
IncludeIsMainRegex : ' ([-_](test|unittest))?$'
103
98
IncludeIsMainSourceRegex : ' '
104
- IndentAccessModifiers : false
105
99
IndentCaseLabels : true
106
100
IndentCaseBlocks : false
107
101
IndentGotoLabels : true
@@ -114,7 +108,6 @@ InsertTrailingCommas: None
114
108
JavaScriptQuotes : Leave
115
109
JavaScriptWrapImports : true
116
110
KeepEmptyLinesAtTheStartOfBlocks : false
117
- LambdaBodyIndentation : Signature
118
111
MacroBlockBegin : ' '
119
112
MacroBlockEnd : ' '
120
113
MaxEmptyLinesToKeep : 1
@@ -128,14 +121,12 @@ PenaltyBreakAssignment: 2
128
121
PenaltyBreakBeforeFirstCallParameter : 1
129
122
PenaltyBreakComment : 300
130
123
PenaltyBreakFirstLessLess : 120
131
- PenaltyBreakOpenParenthesis : 0
132
124
PenaltyBreakString : 1000
133
125
PenaltyBreakTemplateDeclaration : 10
134
126
PenaltyExcessCharacter : 1000000
135
127
PenaltyReturnTypeOnItsOwnLine : 200
136
128
PenaltyIndentedWhitespace : 0
137
129
PointerAlignment : Left
138
- PPIndentWidth : -1
139
130
RawStringFormats :
140
131
- Language : Cpp
141
132
Delimiters :
@@ -164,14 +155,10 @@ RawStringFormats:
164
155
- ParseTextProtoOrDie
165
156
- ParseTestProto
166
157
- ParsePartialTestProto
167
- CanonicalDelimiter : pb
158
+ CanonicalDelimiter : ' '
168
159
BasedOnStyle : google
169
- ReferenceAlignment : Pointer
170
160
ReflowComments : true
171
- RemoveBracesLLVM : false
172
- SeparateDefinitionBlocks : Leave
173
- ShortNamespaceLines : 1
174
- SortIncludes : CaseSensitive
161
+ SortIncludes : true
175
162
SortJavaStaticImport : Before
176
163
SortUsingDeclarations : true
177
164
SpaceAfterCStyleCast : false
@@ -183,33 +170,20 @@ SpaceBeforeCpp11BracedList: false
183
170
SpaceBeforeCtorInitializerColon : true
184
171
SpaceBeforeInheritanceColon : true
185
172
SpaceBeforeParens : ControlStatements
186
- SpaceBeforeParensOptions :
187
- AfterControlStatements : true
188
- AfterForeachMacros : true
189
- AfterFunctionDefinitionName : false
190
- AfterFunctionDeclarationName : false
191
- AfterIfMacros : true
192
- AfterOverloadedOperator : false
193
- BeforeNonEmptyParentheses : false
194
173
SpaceAroundPointerQualifiers : Default
195
174
SpaceBeforeRangeBasedForLoopColon : true
196
175
SpaceInEmptyBlock : false
197
176
SpaceInEmptyParentheses : false
198
177
SpacesBeforeTrailingComments : 2
199
- SpacesInAngles : Never
178
+ SpacesInAngles : false
200
179
SpacesInConditionalStatement : false
201
180
SpacesInContainerLiterals : true
202
181
SpacesInCStyleCastParentheses : false
203
- SpacesInLineCommentPrefix :
204
- Minimum : 1
205
- Maximum : -1
206
182
SpacesInParentheses : false
207
183
SpacesInSquareBrackets : false
208
184
SpaceBeforeSquareBrackets : false
209
185
BitFieldColonSpacing : Both
210
186
Standard : Auto
211
- StatementAttributeLikeMacros :
212
- - Q_EMIT
213
187
StatementMacros :
214
188
- Q_UNUSED
215
189
- QT_REQUIRE_VERSION
@@ -223,3 +197,4 @@ WhitespaceSensitiveMacros:
223
197
- NS_SWIFT_NAME
224
198
- CF_SWIFT_NAME
225
199
...
200
+
0 commit comments