@@ -3,7 +3,7 @@ BasedOnStyle: LLVM
33
44---
55Language : Cpp
6- BasedOnStyle : LLVM
6+ # BasedOnStyle: LLVM
77AccessModifierOffset : -4
88AlignAfterOpenBracket : Align
99AlignArrayOfStructures : Right
@@ -12,93 +12,138 @@ AlignConsecutiveAssignments:
1212 AcrossEmptyLines : false
1313 AcrossComments : false
1414 AlignCompound : false
15+ AlignFunctionDeclarations : false
16+ AlignFunctionPointers : false
1517 PadOperators : true
1618AlignConsecutiveBitFields :
1719 Enabled : false
1820 AcrossEmptyLines : false
1921 AcrossComments : false
2022 AlignCompound : false
23+ AlignFunctionDeclarations : false
24+ AlignFunctionPointers : false
2125 PadOperators : false
2226AlignConsecutiveDeclarations :
2327 Enabled : false
2428 AcrossEmptyLines : false
2529 AcrossComments : false
2630 AlignCompound : false
31+ AlignFunctionDeclarations : true
32+ AlignFunctionPointers : false
2733 PadOperators : false
2834AlignConsecutiveMacros :
2935 Enabled : true
3036 AcrossEmptyLines : false
3137 AcrossComments : true
3238 AlignCompound : false
39+ AlignFunctionDeclarations : false
40+ AlignFunctionPointers : false
41+ PadOperators : false
42+ AlignConsecutiveShortCaseStatements :
43+ Enabled : false
44+ AcrossEmptyLines : false
45+ AcrossComments : false
46+ AlignCaseArrows : false
47+ AlignCaseColons : false
48+ AlignConsecutiveTableGenBreakingDAGArgColons :
49+ Enabled : false
50+ AcrossEmptyLines : false
51+ AcrossComments : false
52+ AlignCompound : false
53+ AlignFunctionDeclarations : false
54+ AlignFunctionPointers : false
55+ PadOperators : false
56+ AlignConsecutiveTableGenCondOperatorColons :
57+ Enabled : false
58+ AcrossEmptyLines : false
59+ AcrossComments : false
60+ AlignCompound : false
61+ AlignFunctionDeclarations : false
62+ AlignFunctionPointers : false
63+ PadOperators : false
64+ AlignConsecutiveTableGenDefinitionColons :
65+ Enabled : false
66+ AcrossEmptyLines : false
67+ AcrossComments : false
68+ AlignCompound : false
69+ AlignFunctionDeclarations : false
70+ AlignFunctionPointers : false
3371 PadOperators : false
3472AlignEscapedNewlines : Right
35- AlignOperands : AlignAfterOperator
36- AlignTrailingComments : true
73+ AlignOperands : Align
74+ AlignTrailingComments :
75+ Kind : Always
76+ OverEmptyLines : 1
3777AllowAllArgumentsOnNextLine : true
3878AllowAllParametersOfDeclarationOnNextLine : true
39- AllowShortEnumsOnASingleLine : true
79+ AllowBreakBeforeNoexceptSpecifier : Never
4080AllowShortBlocksOnASingleLine : Never
81+ AllowShortCaseExpressionOnASingleLine : true
4182AllowShortCaseLabelsOnASingleLine : false
83+ AllowShortCompoundRequirementOnASingleLine : true
84+ AllowShortEnumsOnASingleLine : false
4285AllowShortFunctionsOnASingleLine : None
43- AllowShortLambdasOnASingleLine : Inline
4486AllowShortIfStatementsOnASingleLine : Never
87+ AllowShortLambdasOnASingleLine : Inline
4588AllowShortLoopsOnASingleLine : false
89+ AllowShortNamespacesOnASingleLine : false
4690AlwaysBreakAfterDefinitionReturnType : None
47- AlwaysBreakAfterReturnType : None
4891AlwaysBreakBeforeMultilineStrings : false
49- AlwaysBreakTemplateDeclarations : Yes
5092AttributeMacros :
5193 - __capability
5294 - DPLX_ATTR_FORCE_INLINE
5395 - DPLX_ATTR_NO_UNIQUE_ADDRESS
96+ - DPLX_ATTR_DP_DEPRECATED
97+ - DPLX_ATTR_DP_DEPRECATED_
5498BinPackArguments : true
55- BinPackParameters : false
99+ BinPackParameters : OnePerLine
100+ BitFieldColonSpacing : Both
56101BraceWrapping :
57102 AfterCaseLabel : false
58- AfterClass : false
103+ AfterClass : true
59104 AfterControlStatement : Always
60- AfterEnum : false
61- AfterFunction : false
62- AfterNamespace : false
105+ AfterEnum : true
106+ AfterExternBlock : true
107+ AfterFunction : true
108+ AfterNamespace : true
63109 AfterObjCDeclaration : false
64- AfterStruct : false
65- AfterUnion : false
66- AfterExternBlock : false
67- BeforeCatch : false
68- BeforeElse : false
110+ AfterStruct : true
111+ AfterUnion : true
112+ BeforeCatch : true
113+ BeforeElse : true
69114 BeforeLambdaBody : false
70- BeforeWhile : false
115+ BeforeWhile : true
71116 IndentBraces : false
72117 SplitEmptyFunction : true
73118 SplitEmptyRecord : true
74119 SplitEmptyNamespace : true
120+ BreakAdjacentStringLiterals : true
121+ BreakAfterAttributes : Leave
122+ BreakAfterJavaFieldAnnotations : true
123+ BreakAfterReturnType : None
124+ BreakArrays : false
75125BreakBeforeBinaryOperators : All
76126BreakBeforeConceptDeclarations : Always
77- BreakBeforeBraces : Allman
78- BreakBeforeInheritanceComma : false
79- BreakInheritanceList : BeforeComma
127+ BreakBeforeBraces : Custom
128+ BreakBeforeInlineASMColon : OnlyMultiline
80129BreakBeforeTernaryOperators : true
81- BreakConstructorInitializersBeforeComma : false
130+ BreakBinaryOperations : Never
82131BreakConstructorInitializers : BeforeComma
83- BreakAfterJavaFieldAnnotations : false
132+ BreakFunctionDefinitionParameters : false
133+ BreakInheritanceList : BeforeComma
84134BreakStringLiterals : true
135+ BreakTemplateDeclarations : Yes
85136ColumnLimit : 80
86137CommentPragmas : ' ^ IWYU pragma:'
87- QualifierAlignment : Right
88138CompactNamespaces : false
89139ConstructorInitializerIndentWidth : 4
90140ContinuationIndentWidth : 8
91141Cpp11BracedListStyle : true
92- DeriveLineEnding : true
93142DerivePointerAlignment : false
94143DisableFormat : false
95144EmptyLineAfterAccessModifier : Never
96145EmptyLineBeforeAccessModifier : LogicalBlock
97146ExperimentalAutoDetectBinPacking : false
98- PackConstructorInitializers : Never
99- # deprecated, replaced by PackConstructorInitializers
100- # ConstructorInitializerAllOnOneLineOrOnePerLine: true
101- # AllowAllConstructorInitializersOnNextLine: false
102147FixNamespaceComments : true
103148ForEachMacros :
104149 - foreach
@@ -109,77 +154,109 @@ IncludeBlocks: Regroup
109154IncludeCategories :
110155 - Regex : ' ^<[[:alpha:]_]*>$'
111156 Priority : 2
157+ SortPriority : 0
112158 CaseSensitive : false
113159 - Regex : ' ^<boost/'
114160 Priority : 5
161+ SortPriority : 0
115162 CaseSensitive : false
116163 - Regex : ' ^<dplx/cncr[/\.].*'
117164 Priority : 29
165+ SortPriority : 0
118166 CaseSensitive : true
119167 - Regex : ' ^<dplx/.*'
120168 Priority : 27
169+ SortPriority : 0
121170 CaseSensitive : true
122171 - Regex : ' ^<.*'
123172 Priority : 20
173+ SortPriority : 0
124174 CaseSensitive : false
125175 - Regex : ' ^".*'
126176 Priority : 30
177+ SortPriority : 0
127178 CaseSensitive : false
128179IncludeIsMainRegex : ' (\.test)?$'
129180IncludeIsMainSourceRegex : ' '
130181IndentAccessModifiers : false
131- IndentCaseLabels : false
132182IndentCaseBlocks : false
183+ IndentCaseLabels : false
184+ IndentExportBlock : false
185+ IndentExternBlock : NoIndent
133186IndentGotoLabels : true
134187IndentPPDirectives : None
135- IndentExternBlock : NoIndent
136188IndentRequiresClause : true
137189IndentWidth : 4
138190IndentWrappedFunctionNames : false
139191InsertBraces : true
192+ InsertNewlineAtEOF : true
140193InsertTrailingCommas : None
194+ IntegerLiteralSeparator :
195+ Binary : 0
196+ BinaryMinDigits : 9
197+ Decimal : 3
198+ DecimalMinDigits : 5
199+ Hex : 4
200+ HexMinDigits : 5
141201JavaScriptQuotes : Leave
142202JavaScriptWrapImports : true
143- KeepEmptyLinesAtTheStartOfBlocks : true
203+ KeepEmptyLines :
204+ AtEndOfFile : false
205+ AtStartOfBlock : true
206+ AtStartOfFile : true
207+ KeepFormFeed : true
144208LambdaBodyIndentation : Signature
209+ LineEnding : LF
145210MacroBlockBegin : ' '
146211MacroBlockEnd : ' '
212+ MainIncludeChar : Quote
147213MaxEmptyLinesToKeep : 1
148214NamespaceIndentation : None
149215ObjCBinPackProtocolList : Auto
150216ObjCBlockIndentWidth : 2
151217ObjCBreakBeforeNestedBlockParam : true
152218ObjCSpaceAfterProperty : false
153219ObjCSpaceBeforeProtocolList : true
220+ PackConstructorInitializers : Never
154221PenaltyBreakAssignment : 2
155222PenaltyBreakBeforeFirstCallParameter : 19
223+ PenaltyBreakBeforeMemberAccess : 150
156224PenaltyBreakComment : 300
157225PenaltyBreakFirstLessLess : 120
158226PenaltyBreakOpenParenthesis : 0
227+ PenaltyBreakScopeResolution : 500
159228PenaltyBreakString : 1000
160229PenaltyBreakTemplateDeclaration : 10
161230PenaltyExcessCharacter : 1000000
162- PenaltyReturnTypeOnItsOwnLine : 60
163231PenaltyIndentedWhitespace : 0
232+ PenaltyReturnTypeOnItsOwnLine : 60
164233PointerAlignment : Right
165234PPIndentWidth : -1
235+ QualifierAlignment : Right
166236ReferenceAlignment : Pointer
167- ReflowComments : true
237+ ReflowComments : Always
168238RemoveBracesLLVM : false
239+ RemoveEmptyLinesInUnwrappedLines : true
240+ RemoveParentheses : Leave
241+ RemoveSemicolon : false
169242RequiresClausePosition : OwnLine
243+ RequiresExpressionIndentation : OuterScope
170244SeparateDefinitionBlocks : Leave
171245ShortNamespaceLines : 1
246+ SkipMacroDefinitionBody : false
172247SortIncludes : CaseInsensitive
173248SortJavaStaticImport : Before
174- SortUsingDeclarations : true
249+ SortUsingDeclarations : LexicographicNumeric
175250SpaceAfterCStyleCast : false
176251SpaceAfterLogicalNot : false
177252SpaceAfterTemplateKeyword : true
253+ SpaceAroundPointerQualifiers : Default
178254SpaceBeforeAssignmentOperators : true
179255SpaceBeforeCaseColon : false
180256SpaceBeforeCpp11BracedList : false
181257SpaceBeforeCtorInitializerColon : true
182258SpaceBeforeInheritanceColon : true
259+ SpaceBeforeJsonColon : false
183260SpaceBeforeParens : ControlStatements
184261SpaceBeforeParensOptions : # this is ignored due to SpaceBeforeParens != "Custom"
185262 AfterControlStatements : true
@@ -188,33 +265,40 @@ SpaceBeforeParensOptions: # this is ignored due to SpaceBeforeParens != "Custom"
188265 AfterFunctionDeclarationName : false
189266 AfterIfMacros : true
190267 AfterOverloadedOperator : false
268+ AfterPlacementOperator : true
191269 AfterRequiresInClause : false
192270 AfterRequiresInExpression : false
193271 BeforeNonEmptyParentheses : false
194- SpaceAroundPointerQualifiers : Default
195272SpaceBeforeRangeBasedForLoopColon : true
273+ SpaceBeforeSquareBrackets : false
196274SpaceInEmptyBlock : false
197- SpaceInEmptyParentheses : false
198275SpacesBeforeTrailingComments : 1
199276SpacesInAngles : Never
200- SpacesInConditionalStatement : false
201277SpacesInContainerLiterals : true
202- SpacesInCStyleCastParentheses : false
203278SpacesInLineCommentPrefix :
204279 Minimum : 1
205280 Maximum : -1
206- SpacesInParentheses : false
281+ SpacesInParens : Never
282+ SpacesInParensOptions :
283+ ExceptDoubleParentheses : false
284+ InCStyleCasts : false
285+ InConditionalStatements : false
286+ InEmptyParentheses : false
287+ Other : false
207288SpacesInSquareBrackets : false
208- SpaceBeforeSquareBrackets : false
209- BitFieldColonSpacing : Both
210289Standard : Latest
211290StatementAttributeLikeMacros :
212291StatementMacros :
292+ TableGenBreakInsideDAGArg : DontBreak
213293TabWidth : 4
214- UseCRLF : false
215294UseTab : Never
295+ VerilogBreakBetweenInstancePorts : true
216296WhitespaceSensitiveMacros :
217- - STRINGIZE
218- - PP_STRINGIZE
219297 - BOOST_PP_STRINGIZE
298+ - CF_SWIFT_NAME
299+ - NS_SWIFT_NAME
300+ - PP_STRINGIZE
301+ - STRINGIZE
302+ WrapNamespaceBodyWithEmptyLines : Leave
220303...
304+
0 commit comments