1
1
---
2
2
Language : Cpp
3
- # BasedOnStyle: Microsoft
3
+ # BasedOnStyle: LLVM
4
4
AccessModifierOffset : -2
5
5
AlignAfterOpenBracket : Align
6
6
AlignArrayOfStructures : None
@@ -28,11 +28,6 @@ AlignConsecutiveMacros:
28
28
AcrossComments : false
29
29
AlignCompound : false
30
30
PadOperators : false
31
- AlignConsecutiveShortCaseStatements :
32
- Enabled : false
33
- AcrossEmptyLines : false
34
- AcrossComments : false
35
- AlignCaseColons : false
36
31
AlignEscapedNewlines : Right
37
32
AlignOperands : Align
38
33
AlignTrailingComments :
@@ -42,8 +37,8 @@ AllowAllArgumentsOnNextLine: true
42
37
AllowAllParametersOfDeclarationOnNextLine : true
43
38
AllowShortBlocksOnASingleLine : Never
44
39
AllowShortCaseLabelsOnASingleLine : false
45
- AllowShortEnumsOnASingleLine : false
46
- AllowShortFunctionsOnASingleLine : None
40
+ AllowShortEnumsOnASingleLine : true
41
+ AllowShortFunctionsOnASingleLine : All
47
42
AllowShortIfStatementsOnASingleLine : Never
48
43
AllowShortLambdasOnASingleLine : All
49
44
AllowShortLoopsOnASingleLine : false
@@ -58,17 +53,17 @@ BinPackParameters: true
58
53
BitFieldColonSpacing : Both
59
54
BraceWrapping :
60
55
AfterCaseLabel : false
61
- AfterClass : true
62
- AfterControlStatement : Always
63
- AfterEnum : true
64
- AfterExternBlock : true
65
- AfterFunction : true
66
- AfterNamespace : true
67
- AfterObjCDeclaration : true
68
- AfterStruct : true
56
+ AfterClass : false
57
+ AfterControlStatement : Never
58
+ AfterEnum : false
59
+ AfterExternBlock : false
60
+ AfterFunction : false
61
+ AfterNamespace : false
62
+ AfterObjCDeclaration : false
63
+ AfterStruct : false
69
64
AfterUnion : false
70
- BeforeCatch : true
71
- BeforeElse : true
65
+ BeforeCatch : false
66
+ BeforeElse : false
72
67
BeforeLambdaBody : false
73
68
BeforeWhile : false
74
69
IndentBraces : false
@@ -80,7 +75,7 @@ BreakAfterJavaFieldAnnotations: false
80
75
BreakArrays : true
81
76
BreakBeforeBinaryOperators : None
82
77
BreakBeforeConceptDeclarations : Always
83
- BreakBeforeBraces : Custom
78
+ BreakBeforeBraces : Attach
84
79
BreakBeforeInlineASMColon : OnlyMultiline
85
80
BreakBeforeTernaryOperators : true
86
81
BreakConstructorInitializers : BeforeColon
@@ -142,15 +137,14 @@ IntegerLiteralSeparator:
142
137
JavaScriptQuotes : Leave
143
138
JavaScriptWrapImports : true
144
139
KeepEmptyLinesAtTheStartOfBlocks : true
145
- KeepEmptyLinesAtEOF : false
146
140
LambdaBodyIndentation : Signature
147
141
LineEnding : DeriveLF
148
142
MacroBlockBegin : ' '
149
143
MacroBlockEnd : ' '
150
144
MaxEmptyLinesToKeep : 1
151
145
NamespaceIndentation : None
152
146
ObjCBinPackProtocolList : Auto
153
- ObjCBlockIndentWidth : 2
147
+ ObjCBlockIndentWidth : 4
154
148
ObjCBreakBeforeNestedBlockParam : true
155
149
ObjCSpaceAfterProperty : false
156
150
ObjCSpaceBeforeProtocolList : true
@@ -164,14 +158,13 @@ PenaltyBreakString: 1000
164
158
PenaltyBreakTemplateDeclaration : 10
165
159
PenaltyExcessCharacter : 1000000
166
160
PenaltyIndentedWhitespace : 0
167
- PenaltyReturnTypeOnItsOwnLine : 1000
161
+ PenaltyReturnTypeOnItsOwnLine : 60
168
162
PointerAlignment : Right
169
163
PPIndentWidth : -1
170
164
QualifierAlignment : Leave
171
165
ReferenceAlignment : Pointer
172
166
ReflowComments : true
173
167
RemoveBracesLLVM : false
174
- RemoveParentheses : Leave
175
168
RemoveSemicolon : false
176
169
RequiresClausePosition : OwnLine
177
170
RequiresExpressionIndentation : OuterScope
@@ -189,7 +182,6 @@ SpaceBeforeCaseColon: false
189
182
SpaceBeforeCpp11BracedList : false
190
183
SpaceBeforeCtorInitializerColon : true
191
184
SpaceBeforeInheritanceColon : true
192
- SpaceBeforeJsonColon : false
193
185
SpaceBeforeParens : ControlStatements
194
186
SpaceBeforeParensOptions :
195
187
AfterControlStatements : true
@@ -204,28 +196,25 @@ SpaceBeforeParensOptions:
204
196
SpaceBeforeRangeBasedForLoopColon : true
205
197
SpaceBeforeSquareBrackets : false
206
198
SpaceInEmptyBlock : false
199
+ SpaceInEmptyParentheses : false
207
200
SpacesBeforeTrailingComments : 1
208
201
SpacesInAngles : Never
202
+ SpacesInConditionalStatement : false
209
203
SpacesInContainerLiterals : true
204
+ SpacesInCStyleCastParentheses : false
210
205
SpacesInLineCommentPrefix :
211
206
Minimum : 1
212
207
Maximum : -1
213
- SpacesInParens : Never
214
- SpacesInParensOptions :
215
- InCStyleCasts : false
216
- InConditionalStatements : false
217
- InEmptyParentheses : false
218
- Other : false
208
+ SpacesInParentheses : false
219
209
SpacesInSquareBrackets : false
220
210
Standard : Latest
221
211
StatementAttributeLikeMacros :
222
212
- Q_EMIT
223
213
StatementMacros :
224
214
- Q_UNUSED
225
215
- QT_REQUIRE_VERSION
226
- TabWidth : 4
216
+ TabWidth : 8
227
217
UseTab : Never
228
- VerilogBreakBetweenInstancePorts : true
229
218
WhitespaceSensitiveMacros :
230
219
- BOOST_PP_STRINGIZE
231
220
- CF_SWIFT_NAME
0 commit comments