@@ -3,9 +3,48 @@ Language: Cpp
33BasedOnStyle : LLVM
44AccessModifierOffset : -4
55AlignAfterOpenBracket : AlwaysBreak
6+ AlignArrayOfStructures : None
67AlignConsecutiveMacros : true
78AlignConsecutiveAssignments : false
89AlignConsecutiveDeclarations : false
10+ AlignConsecutiveBitFields :
11+ Enabled : false
12+ AcrossEmptyLines : false
13+ AcrossComments : false
14+ AlignCompound : false
15+ AlignFunctionDeclarations : false
16+ AlignFunctionPointers : false
17+ PadOperators : false
18+ AlignConsecutiveShortCaseStatements :
19+ Enabled : false
20+ AcrossEmptyLines : false
21+ AcrossComments : false
22+ AlignCaseArrows : false
23+ AlignCaseColons : false
24+ AlignConsecutiveTableGenBreakingDAGArgColons :
25+ Enabled : false
26+ AcrossEmptyLines : false
27+ AcrossComments : false
28+ AlignCompound : false
29+ AlignFunctionDeclarations : false
30+ AlignFunctionPointers : false
31+ PadOperators : false
32+ AlignConsecutiveTableGenCondOperatorColons :
33+ Enabled : false
34+ AcrossEmptyLines : false
35+ AcrossComments : false
36+ AlignCompound : false
37+ AlignFunctionDeclarations : false
38+ AlignFunctionPointers : false
39+ PadOperators : false
40+ AlignConsecutiveTableGenDefinitionColons :
41+ Enabled : false
42+ AcrossEmptyLines : false
43+ AcrossComments : false
44+ AlignCompound : false
45+ AlignFunctionDeclarations : false
46+ AlignFunctionPointers : false
47+ PadOperators : false
948AlignEscapedNewlines : DontAlign
1049AlignOperands : true
1150AlignTrailingComments : false
@@ -19,15 +58,22 @@ AllowShortFunctionsOnASingleLine: None
1958AllowShortIfStatementsOnASingleLine : Never
2059AllowShortLambdasOnASingleLine : None
2160AllowShortLoopsOnASingleLine : false
61+ AllowShortNamespacesOnASingleLine : true
62+ AllowBreakBeforeNoexceptSpecifier : Never
63+ AllowBreakBeforeQtProperty : false
64+ AllowShortCaseExpressionOnASingleLine : true
65+ AllowShortCompoundRequirementOnASingleLine : true
2266AlwaysBreakAfterDefinitionReturnType : None
2367AlwaysBreakAfterReturnType : None
2468AlwaysBreakBeforeMultilineStrings : false
2569AlwaysBreakTemplateDeclarations : Yes
2670# AttributeMacros:
2771# - ...
2872BinPackArguments : true
73+ BinPackLongBracedList : true
2974BinPackParameters : true
3075BitFieldColonSpacing : Both
76+ BracedInitializerIndentWidth : -1
3177BraceWrapping :
3278 AfterCaseLabel : false
3379 AfterClass : false
@@ -39,6 +85,7 @@ BraceWrapping:
3985 AfterUnion : false
4086 # necessary exception because of a bug indenting the content otherwise (v9 at least)
4187 AfterExternBlock : false
88+ AfterObjCDeclaration : false
4289 BeforeCatch : false
4390 BeforeElse : false
4491 BeforeLambdaBody : false
@@ -51,11 +98,28 @@ BreakBeforeBinaryOperators: NonAssignment
5198BreakBeforeBraces : Attach
5299BreakBeforeConceptDeclarations : true
53100BreakBeforeInheritanceComma : false
54- # BreakBeforeInlineASMColon: Always
101+ BreakBeforeInlineASMColon : OnlyMultiline
55102BreakInheritanceList : BeforeComma
56103BreakBeforeTernaryOperators : true
57104BreakConstructorInitializers : BeforeComma
58105BreakStringLiterals : true
106+ BreakAdjacentStringLiterals : true
107+ BreakAfterAttributes : Leave
108+ BreakAfterJavaFieldAnnotations : false
109+ BreakAfterOpenBracketBracedList : true
110+ BreakAfterOpenBracketFunction : true
111+ BreakAfterOpenBracketIf : true
112+ BreakAfterOpenBracketLoop : true
113+ BreakAfterOpenBracketSwitch : true
114+ BreakArrays : true
115+ BreakBeforeCloseBracketBracedList : true
116+ BreakBeforeCloseBracketFunction : false
117+ BreakBeforeCloseBracketIf : false
118+ BreakBeforeCloseBracketLoop : false
119+ BreakBeforeCloseBracketSwitch : false
120+ BreakBeforeTemplateCloser : false
121+ BreakBinaryOperations : Never
122+ BreakFunctionDefinitionParameters : false
59123ColumnLimit : 120
60124CommentPragmas : ' ^([^ ]| IWYU pragma:)'
61125CompactNamespaces : false
@@ -67,9 +131,12 @@ DeriveLineEnding: true
67131DerivePointerAlignment : false
68132DisableFormat : false
69133EmptyLineBeforeAccessModifier : Always
134+ EmptyLineAfterAccessModifier : Never
135+ EnumTrailingComma : Insert
70136ExperimentalAutoDetectBinPacking : false
71137FixNamespaceComments : true
72138ForEachMacros : [foreach, FOREACH, Q_FOREACH, BOOST_FOREACH]
139+ IfMacros : []
73140IncludeBlocks : Preserve
74141IncludeCategories :
75142 - Regex : ' ^<.*>'
@@ -84,46 +151,73 @@ IncludeCategories:
84151 Priority : 1
85152IncludeIsMainRegex : ' '
86153IncludeIsMainSourceRegex : ' (\.test\.)?'
154+ IndentAccessModifiers : false
155+ IndentCaseBlocks : false
87156IndentCaseLabels : true
157+ IndentExportBlock : true
88158IndentExternBlock : NoIndent
89159IndentGotoLabels : false
90160IndentPPDirectives : None
91161IndentRequiresClause : true
92162IndentWidth : 4
93163IndentWrappedFunctionNames : false
94164KeepEmptyLinesAtTheStartOfBlocks : false
165+ KeepFormFeed : false
95166LambdaBodyIndentation : Signature
167+ LineEnding : DeriveLF
96168MacroBlockBegin : ' #if'
97169MacroBlockEnd : ' #endif|#else|#elif'
170+ MainIncludeChar : Quote
98171MaxEmptyLinesToKeep : 2
99172NamespaceIndentation : None
100173# NamespaceMacros:
101174# - ...
175+ NumericLiteralCase :
176+ ExponentLetter : Leave
177+ HexDigit : Leave
178+ Prefix : Leave
179+ Suffix : Upper
180+ ObjCBinPackProtocolList : Auto
181+ ObjCBlockIndentWidth : 2
182+ ObjCBreakBeforeNestedBlockParam : true
183+ ObjCSpaceAfterProperty : false
184+ ObjCSpaceBeforeProtocolList : true
185+ OneLineFormatOffRegex : ' '
102186PackConstructorInitializers : Never
103187PenaltyBreakAssignment : 2
104188PenaltyBreakBeforeFirstCallParameter : 1
189+ PenaltyBreakBeforeMemberAccess : 150
105190PenaltyBreakComment : 300
106191PenaltyBreakFirstLessLess : 120
107192PenaltyBreakOpenParenthesis : 1
193+ PenaltyBreakScopeResolution : 500
108194PenaltyBreakString : 1000
109195PenaltyBreakTemplateDeclaration : 10
110196PenaltyExcessCharacter : 1000000
111197PenaltyIndentedWhitespace : 1
112198PenaltyReturnTypeOnItsOwnLine : 200
113199PointerAlignment : Left
200+ PPIndentWidth : -1
114201QualifierAlignment : Custom
115202# 'export' has to be first always anyway, so no need to be supported (it isn't)
116203# 'friend' not yet supported, will go first
117204QualifierOrder : ['static', 'inline', 'constexpr', 'const', 'volatile', 'restrict', 'type']
118205ReferenceAlignment : Left
119206ReflowComments : true
120- # RemoveSemicolon: true
207+ RemoveBracesLLVM : false
208+ RemoveEmptyLinesInUnwrappedLines : true
209+ RemoveParentheses : ReturnStatement
210+ RemoveSemicolon : true
121211RequiresClausePosition : OwnLine
212+ RequiresExpressionIndentation : OuterScope
122213SeparateDefinitionBlocks : Always
123214ShortNamespaceLines : 0
124215SortIncludes : CaseInsensitive
125216SortUsingDeclarations : true
217+ SkipMacroDefinitionBody : false
218+ SortJavaStaticImport : Before
126219SpaceAfterCStyleCast : false
220+ SpaceAfterOperatorKeyword : false
127221SpaceAfterLogicalNot : false
128222SpaceAfterTemplateKeyword : true
129223SpaceAroundPointerQualifiers : Default
@@ -133,8 +227,22 @@ SpaceBeforeCpp11BracedList: false
133227SpaceBeforeCtorInitializerColon : true
134228SpaceBeforeInheritanceColon : true
135229SpaceBeforeParens : ControlStatements
230+ SpaceBeforeParensOptions :
231+ AfterControlStatements : true
232+ AfterForeachMacros : true
233+ AfterFunctionDefinitionName : false
234+ AfterFunctionDeclarationName : false
235+ AfterIfMacros : true
236+ AfterNot : false
237+ AfterOverloadedOperator : false
238+ AfterPlacementOperator : true
239+ AfterRequiresInClause : false
240+ AfterRequiresInExpression : false
241+ BeforeNonEmptyParentheses : false
136242SpaceBeforeRangeBasedForLoopColon : true
243+ SpaceBeforeJsonColon : false
137244SpaceInEmptyBlock : false
245+ SpaceInEmptyBraces : Never
138246SpaceInEmptyParentheses : false
139247SpacesBeforeTrailingComments : 1
140248SpacesInAngles : false
@@ -145,8 +253,15 @@ SpacesInLineCommentPrefix:
145253 Maximum : -1
146254 Minimum : 1
147255SpacesInParentheses : false
256+ SpacesInParensOptions :
257+ ExceptDoubleParentheses : false
258+ InCStyleCasts : false
259+ InConditionalStatements : false
260+ InEmptyParentheses : false
261+ Other : false
148262SpacesInSquareBrackets : false
149263SpaceBeforeSquareBrackets : false
264+ TableGenBreakInsideDAGArg : DontBreak
150265Standard : Latest
151266StatementAttributeLikeMacros : [emit]
152267StatementMacros :
@@ -157,10 +272,34 @@ TabWidth: 4
157272# - ...
158273UseCRLF : false
159274UseTab : Never
275+ VerilogBreakBetweenInstancePorts : true
160276WhitespaceSensitiveMacros :
161277 - UL_STRINGIFY
162278 - UL_WARNING_DISABLE_CLANG
163279 - UL_WARNING_DISABLE_GCC
164280 - UL_WARNING_DISABLE_MSVC
281+ InsertBraces : false
282+ InsertNewlineAtEOF : true
283+ InsertTrailingCommas : Wrapped
284+ IntegerLiteralSeparator :
285+ Binary : 4
286+ BinaryMinDigitsInsert : 0
287+ BinaryMaxDigitsRemove : 0
288+ Decimal : 3
289+ DecimalMinDigitsInsert : 0
290+ DecimalMaxDigitsRemove : 0
291+ Hex : 4
292+ HexMinDigitsInsert : 0
293+ HexMaxDigitsRemove : 0
294+ BinaryMinDigits : 0
295+ DecimalMinDigits : 0
296+ HexMinDigits : 0
297+ JavaScriptQuotes : Leave
298+ JavaScriptWrapImports : true
299+ KeepEmptyLines :
300+ AtEndOfFile : false
301+ AtStartOfBlock : false
302+ AtStartOfFile : true
303+ WrapNamespaceBodyWithEmptyLines : Never
165304
166305...
0 commit comments