1
1
---
2
- Language : Cpp
2
+ Language : Cpp
3
3
# BasedOnStyle: LLVM
4
4
AccessModifierOffset : -2
5
5
AlignAfterOpenBracket : Align
@@ -16,7 +16,8 @@ AlignConsecutiveBitFields:
16
16
AlignConsecutiveDeclarations : None
17
17
AlignEscapedNewlines : Right
18
18
AlignOperands : Align
19
- InsertBraces : true # Control statements must have curly brackets
19
+ SortIncludes : false
20
+ InsertBraces : true # Control statements must have curly brackets
20
21
AlignTrailingComments : true
21
22
AllowAllArgumentsOnNextLine : true
22
23
AllowAllParametersOfDeclarationOnNextLine : true
@@ -36,21 +37,21 @@ AttributeMacros:
36
37
BinPackArguments : true
37
38
BinPackParameters : true
38
39
BraceWrapping :
39
- AfterCaseLabel : false
40
- AfterClass : false
40
+ AfterCaseLabel : false
41
+ AfterClass : false
41
42
AfterControlStatement : Never
42
- AfterEnum : false
43
- AfterFunction : false
44
- AfterNamespace : false
43
+ AfterEnum : false
44
+ AfterFunction : false
45
+ AfterNamespace : false
45
46
AfterObjCDeclaration : false
46
- AfterStruct : false
47
- AfterUnion : false
47
+ AfterStruct : false
48
+ AfterUnion : false
48
49
AfterExternBlock : false
49
- BeforeCatch : false
50
- BeforeElse : false
50
+ BeforeCatch : false
51
+ BeforeElse : false
51
52
BeforeLambdaBody : false
52
- BeforeWhile : false
53
- IndentBraces : false
53
+ BeforeWhile : false
54
+ IndentBraces : false
54
55
SplitEmptyFunction : true
55
56
SplitEmptyRecord : true
56
57
SplitEmptyNamespace : true
@@ -64,21 +65,21 @@ BreakConstructorInitializersBeforeComma: false
64
65
BreakConstructorInitializers : BeforeColon
65
66
BreakAfterJavaFieldAnnotations : false
66
67
BreakStringLiterals : true
67
- ColumnLimit : 120
68
- CommentPragmas : ' ^ IWYU pragma:'
68
+ ColumnLimit : 120
69
+ CommentPragmas : " ^ IWYU pragma:"
69
70
QualifierAlignment : Leave
70
71
CompactNamespaces : false
71
72
ConstructorInitializerIndentWidth : 4
72
73
ContinuationIndentWidth : 4
73
74
Cpp11BracedListStyle : true
74
75
DeriveLineEnding : true
75
76
DerivePointerAlignment : false
76
- DisableFormat : false
77
+ DisableFormat : false
77
78
EmptyLineAfterAccessModifier : Never
78
79
EmptyLineBeforeAccessModifier : LogicalBlock
79
80
ExperimentalAutoDetectBinPacking : false
80
81
PackConstructorInitializers : BinPack
81
- BasedOnStyle : ' '
82
+ BasedOnStyle : " "
82
83
ConstructorInitializerAllOnOneLineOrOnePerLine : false
83
84
AllowAllConstructorInitializersOnNextLine : true
84
85
FixNamespaceComments : true
@@ -88,32 +89,32 @@ ForEachMacros:
88
89
- BOOST_FOREACH
89
90
IfMacros :
90
91
- KJ_IF_MAYBE
91
- IncludeBlocks : Preserve
92
+ IncludeBlocks : Preserve
92
93
IncludeCategories :
93
- - Regex : ' ^<(.*)>'
94
- Priority : 0
95
- - Regex : ' ^"(.*)"'
96
- Priority : 1
97
- - Regex : ' (.*)'
98
- Priority : 2
99
- IncludeIsMainRegex : ' (Test)?$'
100
- IncludeIsMainSourceRegex : ' '
94
+ - Regex : " ^<(.*)>"
95
+ Priority : 0
96
+ - Regex : ' ^"(.*)"'
97
+ Priority : 1
98
+ - Regex : " (.*)"
99
+ Priority : 2
100
+ IncludeIsMainRegex : " (Test)?$"
101
+ IncludeIsMainSourceRegex : " "
101
102
IndentAccessModifiers : false
102
103
IndentCaseLabels : true
103
104
IndentCaseBlocks : false
104
105
IndentGotoLabels : true
105
106
IndentPPDirectives : None
106
107
IndentExternBlock : AfterExternBlock
107
- IndentRequires : true
108
- IndentWidth : 4
108
+ IndentRequires : true
109
+ IndentWidth : 4
109
110
IndentWrappedFunctionNames : false
110
111
InsertTrailingCommas : None
111
112
JavaScriptQuotes : Leave
112
113
JavaScriptWrapImports : true
113
114
KeepEmptyLinesAtTheStartOfBlocks : true
114
115
LambdaBodyIndentation : Signature
115
- MacroBlockBegin : ' '
116
- MacroBlockEnd : ' '
116
+ MacroBlockBegin : " "
117
+ MacroBlockEnd : " "
117
118
MaxEmptyLinesToKeep : 1
118
119
NamespaceIndentation : None
119
120
ObjCBinPackProtocolList : Auto
@@ -132,13 +133,12 @@ PenaltyExcessCharacter: 1000000
132
133
PenaltyReturnTypeOnItsOwnLine : 60
133
134
PenaltyIndentedWhitespace : 0
134
135
PointerAlignment : Left
135
- PPIndentWidth : -1
136
+ PPIndentWidth : -1
136
137
ReferenceAlignment : Pointer
137
- ReflowComments : false
138
+ ReflowComments : false
138
139
RemoveBracesLLVM : false
139
140
SeparateDefinitionBlocks : Always
140
141
ShortNamespaceLines : 1
141
- SortIncludes : CaseSensitive
142
142
SortJavaStaticImport : Before
143
143
SortUsingDeclarations : true
144
144
SpaceAfterCStyleCast : false
@@ -152,34 +152,34 @@ SpaceBeforeParensOptions:
152
152
AfterForeachMacros : true
153
153
AfterFunctionDefinitionName : false
154
154
AfterFunctionDeclarationName : false
155
- AfterIfMacros : true
155
+ AfterIfMacros : true
156
156
AfterOverloadedOperator : false
157
157
BeforeNonEmptyParentheses : false
158
158
SpaceAroundPointerQualifiers : Default
159
159
SpaceBeforeRangeBasedForLoopColon : true
160
160
SpaceInEmptyBlock : false
161
161
SpaceInEmptyParentheses : false
162
162
SpacesBeforeTrailingComments : 1
163
- SpacesInAngles : Never
163
+ SpacesInAngles : Never
164
164
SpacesInConditionalStatement : false
165
165
SpacesInContainerLiterals : true
166
166
SpacesInCStyleCastParentheses : false
167
167
SpacesInLineCommentPrefix :
168
- Minimum : 1
169
- Maximum : -1
168
+ Minimum : 1
169
+ Maximum : -1
170
170
SpacesInParentheses : false
171
171
SpacesInSquareBrackets : false
172
172
SpaceBeforeSquareBrackets : false
173
173
BitFieldColonSpacing : Both
174
- Standard : Latest
174
+ Standard : Latest
175
175
StatementAttributeLikeMacros :
176
176
- Q_EMIT
177
177
StatementMacros :
178
178
- Q_UNUSED
179
179
- QT_REQUIRE_VERSION
180
- TabWidth : 8
181
- UseCRLF : false
182
- UseTab : Never
180
+ TabWidth : 8
181
+ UseCRLF : false
182
+ UseTab : Never
183
183
WhitespaceSensitiveMacros :
184
184
- STRINGIZE
185
185
- PP_STRINGIZE
@@ -189,5 +189,5 @@ WhitespaceSensitiveMacros:
189
189
SpaceBeforeCpp11BracedList : false
190
190
SpaceBeforeCtorInitializerColon : true
191
191
SpaceBeforeInheritanceColon : true
192
- ...
192
+ ---
193
193
0 commit comments