1
1
---
2
- Language : Cpp
3
2
BasedOnStyle : LLVM
4
3
AccessModifierOffset : -4
5
- AlignOperands : false
6
- AllowShortBlocksOnASingleLine : true
7
- AllowShortIfStatementsOnASingleLine : true
4
+ AlignAfterOpenBracket : BlockIndent
5
+ AlignArrayOfStructures : None
6
+ AlignConsecutiveAssignments :
7
+ Enabled : false
8
+ AcrossEmptyLines : false
9
+ AcrossComments : false
10
+ AlignCompound : false
11
+ PadOperators : true
12
+ AlignConsecutiveBitFields :
13
+ Enabled : false
14
+ AcrossEmptyLines : false
15
+ AcrossComments : false
16
+ AlignCompound : false
17
+ PadOperators : false
18
+ AlignConsecutiveDeclarations :
19
+ Enabled : false
20
+ AcrossEmptyLines : false
21
+ AcrossComments : false
22
+ AlignCompound : false
23
+ PadOperators : false
24
+ AlignConsecutiveMacros :
25
+ Enabled : false
26
+ AcrossEmptyLines : false
27
+ AcrossComments : false
28
+ AlignCompound : false
29
+ PadOperators : false
30
+ AlignEscapedNewlines : Right
31
+ AlignOperands : Align
32
+ AlignTrailingComments :
33
+ Kind : Always
34
+ OverEmptyLines : 0
35
+ AllowAllArgumentsOnNextLine : true
36
+ AllowAllParametersOfDeclarationOnNextLine : true
37
+ AllowShortBlocksOnASingleLine : Always
38
+ AllowShortCaseLabelsOnASingleLine : true
39
+ AllowShortEnumsOnASingleLine : true
40
+ AllowShortFunctionsOnASingleLine : All
41
+ AllowShortIfStatementsOnASingleLine : AllIfsAndElse
42
+ AllowShortLambdasOnASingleLine : All
8
43
AllowShortLoopsOnASingleLine : true
9
- AlwaysBreakAfterDefinitionReturnType : false
44
+ AlwaysBreakAfterDefinitionReturnType : None
45
+ AlwaysBreakAfterReturnType : None
46
+ AlwaysBreakBeforeMultilineStrings : false
10
47
AlwaysBreakTemplateDeclarations : No
11
- BraceWrapping :
48
+ AttributeMacros :
49
+ - __capability
50
+ BinPackArguments : false
51
+ BinPackParameters : false
52
+ BitFieldColonSpacing : Both
53
+ BraceWrapping :
12
54
AfterCaseLabel : false
13
55
AfterClass : false
14
- AfterControlStatement : false
56
+ AfterControlStatement : Never
15
57
AfterEnum : false
16
58
AfterFunction : false
17
59
AfterNamespace : false
60
+ AfterObjCDeclaration : false
18
61
AfterStruct : false
19
62
AfterUnion : false
20
63
AfterExternBlock : false
21
64
BeforeCatch : true
22
65
BeforeElse : true
23
66
BeforeLambdaBody : false
24
- BeforeWhile : true
67
+ BeforeWhile : false
68
+ IndentBraces : false
25
69
SplitEmptyFunction : false
26
70
SplitEmptyRecord : false
27
71
SplitEmptyNamespace : false
72
+ BreakAfterAttributes : Never
73
+ BreakAfterJavaFieldAnnotations : false
74
+ BreakArrays : true
75
+ BreakBeforeBinaryOperators : None
28
76
BreakBeforeBraces : Custom
77
+ BreakBeforeConceptDeclarations : Never
78
+ BreakBeforeInlineASMColon : OnlyMultiline
79
+ BreakBeforeTernaryOperators : false
29
80
BreakConstructorInitializers : BeforeComma
81
+ BreakStringLiterals : true
30
82
ColumnLimit : 0
31
- ConstructorInitializerAllOnOneLineOrOnePerLine : true
32
- IncludeCategories :
33
- - Regex : ' ^<.*'
34
- Priority : 1
35
- - Regex : ' ^".*'
83
+ CommentPragmas : " ^ IWYU pragma:"
84
+ CompactNamespaces : false
85
+ ConstructorInitializerIndentWidth : 4
86
+ ContinuationIndentWidth : 4
87
+ Cpp11BracedListStyle : true
88
+ DerivePointerAlignment : false
89
+ DisableFormat : false
90
+ EmptyLineAfterAccessModifier : Never
91
+ EmptyLineBeforeAccessModifier : LogicalBlock
92
+ ExperimentalAutoDetectBinPacking : false
93
+ FixNamespaceComments : true
94
+ IncludeBlocks : Regroup
95
+ IncludeCategories :
96
+ - Regex : ^"(llvm|llvm-c|clang|clang-c)/
36
97
Priority : 2
37
- - Regex : ' .*'
98
+ SortPriority : 0
99
+ CaseSensitive : false
100
+ - Regex : ^(<|"(gtest|gmock|isl|json)/)
38
101
Priority : 3
39
- IncludeIsMainRegex : ' ([-_](test|unittest))?$'
102
+ SortPriority : 0
103
+ CaseSensitive : false
104
+ - Regex : .*
105
+ Priority : 1
106
+ SortPriority : 0
107
+ CaseSensitive : false
108
+ IncludeIsMainRegex : (Test)?$
109
+ IncludeIsMainSourceRegex : " "
110
+ IndentAccessModifiers : false
111
+ IndentCaseBlocks : false
112
+ IndentCaseLabels : false
113
+ IndentExternBlock : AfterExternBlock
114
+ IndentGotoLabels : true
115
+ IndentPPDirectives : None
116
+ IndentRequiresClause : true
40
117
IndentWidth : 4
41
- MacroBlockBegin : ' '
42
- MacroBlockEnd : ' '
118
+ IndentWrappedFunctionNames : false
119
+ InsertBraces : false
120
+ InsertNewlineAtEOF : false
121
+ InsertTrailingCommas : None
122
+ IntegerLiteralSeparator :
123
+ Binary : 0
124
+ BinaryMinDigits : 0
125
+ Decimal : 0
126
+ DecimalMinDigits : 0
127
+ Hex : 0
128
+ HexMinDigits : 0
129
+ JavaScriptQuotes : Leave
130
+ JavaScriptWrapImports : true
131
+ KeepEmptyLinesAtTheStartOfBlocks : false
132
+ LambdaBodyIndentation : Signature
133
+ Language : Cpp
134
+ LineEnding : DeriveLF
135
+ MacroBlockBegin : " "
136
+ MacroBlockEnd : " "
137
+ MaxEmptyLinesToKeep : 1
43
138
NamespaceIndentation : All
139
+ ObjCBinPackProtocolList : Auto
140
+ ObjCBlockIndentWidth : 2
141
+ ObjCBreakBeforeNestedBlockParam : true
142
+ ObjCSpaceAfterProperty : false
143
+ ObjCSpaceBeforeProtocolList : true
144
+ PPIndentWidth : -1
145
+ PackConstructorInitializers : Never
146
+ PenaltyBreakAssignment : 2
147
+ PenaltyBreakBeforeFirstCallParameter : 19
148
+ PenaltyBreakComment : 300
149
+ PenaltyBreakFirstLessLess : 120
150
+ PenaltyBreakOpenParenthesis : 0
151
+ PenaltyBreakString : 1000
152
+ PenaltyBreakTemplateDeclaration : 10
153
+ PenaltyExcessCharacter : 1000000
154
+ PenaltyIndentedWhitespace : 0
155
+ PenaltyReturnTypeOnItsOwnLine : 60
44
156
PointerAlignment : Left
157
+ QualifierAlignment : Leave
158
+ ReferenceAlignment : Pointer
159
+ ReflowComments : true
160
+ RemoveBracesLLVM : false
161
+ RemoveSemicolon : false
162
+ RequiresClausePosition : OwnLine
163
+ RequiresExpressionIndentation : OuterScope
164
+ SeparateDefinitionBlocks : Leave
165
+ ShortNamespaceLines : 1
166
+ SortIncludes : CaseSensitive
167
+ SortJavaStaticImport : Before
168
+ SortUsingDeclarations : LexicographicNumeric
169
+ SpaceAfterCStyleCast : false
170
+ SpaceAfterLogicalNot : false
45
171
SpaceAfterTemplateKeyword : false
172
+ SpaceAroundPointerQualifiers : Default
173
+ SpaceBeforeAssignmentOperators : true
174
+ SpaceBeforeCaseColon : false
175
+ SpaceBeforeCpp11BracedList : false
176
+ SpaceBeforeCtorInitializerColon : true
177
+ SpaceBeforeInheritanceColon : true
46
178
SpaceBeforeParens : Never
179
+ SpaceBeforeRangeBasedForLoopColon : true
180
+ SpaceBeforeSquareBrackets : false
181
+ SpaceInEmptyBlock : false
182
+ SpaceInEmptyParentheses : false
183
+ SpacesBeforeTrailingComments : 1
184
+ SpacesInAngles : Never
185
+ SpacesInCStyleCastParentheses : false
186
+ SpacesInConditionalStatement : false
187
+ SpacesInContainerLiterals : true
188
+ SpacesInLineCommentPrefix :
189
+ Minimum : 1
190
+ Maximum : -1
191
+ SpacesInParentheses : false
192
+ SpacesInSquareBrackets : false
193
+ Standard : Latest
194
+ StatementAttributeLikeMacros :
195
+ - Q_EMIT
196
+ StatementMacros :
197
+ - suanpan_info
198
+ - suanpan_debug
199
+ - suanpan_warning
200
+ - suanpan_error
201
+ - suanpan_fatal
47
202
TabWidth : 4
48
- ...
203
+ UseTab : Never
204
+ AllowAllConstructorInitializersOnNextLine : true
0 commit comments