11---
22Language : Cpp
3+ # BasedOnStyle: Microsoft
34
45DisableFormat : false
56
6- # GENERAL INDENTATION
7- UseTab : Never
8- TabWidth : 4
9- IndentWidth : 4
10-
117AccessModifierOffset : -2
12-
138AlignAfterOpenBracket : BlockIndent
149AlignArrayOfStructures : Right
10+
1511AlignConsecutiveAssignments :
16- Enabled : true
17- AcrossEmptyLines : true
18- AcrossComments : false
19- AlignCompound : false
12+ Enabled : true
13+ AcrossEmptyLines : false
14+ AcrossComments : false
15+ AlignCompound : false
2016 AlignFunctionPointers : false
21- PadOperators : true
17+ PadOperators : true
18+
19+ AlignConsecutiveBitFields :
20+ Enabled : false
21+ AcrossEmptyLines : false
22+ AcrossComments : false
23+ AlignCompound : false
24+ AlignFunctionPointers : false
25+ PadOperators : false
26+
27+ AlignConsecutiveDeclarations :
28+ Enabled : false
29+ AcrossEmptyLines : false
30+ AcrossComments : false
31+ AlignCompound : false
32+ AlignFunctionPointers : false
33+ PadOperators : false
34+
2235AlignConsecutiveMacros :
23- Enabled : true
24- AcrossEmptyLines : true
25- AcrossComments : false
26- AlignCompound : false
36+ Enabled : false
37+ AcrossEmptyLines : false
38+ AcrossComments : false
39+ AlignCompound : false
2740 AlignFunctionPointers : false
28- PadOperators : false
41+ PadOperators : false
42+
43+ AlignConsecutiveShortCaseStatements :
44+ Enabled : false
45+ AcrossEmptyLines : false
46+ AcrossComments : false
47+ AlignCaseColons : false
48+
2949AlignEscapedNewlines : Right
30- AlignOperands : Align
50+ AlignOperands : Align
51+
3152AlignTrailingComments :
32- Kind : Always
33- OverEmptyLines : 2
53+ Kind : Always
54+ OverEmptyLines : 2
3455
3556AllowAllArgumentsOnNextLine : true
3657AllowAllParametersOfDeclarationOnNextLine : true
37- AllowBreakBeforeNoexceptSpecifier : Always
38- AllowShortBlocksOnASingleLine : Never
58+ AllowBreakBeforeNoexceptSpecifier : Never
59+ AllowShortBlocksOnASingleLine : Empty
3960AllowShortCaseLabelsOnASingleLine : false
40- AllowShortCompoundRequirementOnASingleLine : false
61+ AllowShortCompoundRequirementOnASingleLine : true
4162AllowShortEnumsOnASingleLine : true
42- AllowShortFunctionsOnASingleLine : InlineOnly
63+ AllowShortFunctionsOnASingleLine : None
4364AllowShortIfStatementsOnASingleLine : Never
44- AllowShortLambdasOnASingleLine : All
65+ AllowShortLambdasOnASingleLine : Empty
4566AllowShortLoopsOnASingleLine : false
46-
47- AlwaysBreakAfterReturnType : None
67+ # AllowShortNamespacesOnASingleLine: true
4868AlwaysBreakAfterDefinitionReturnType : None
49- AlwaysBreakBeforeMultilineStrings : false
69+ AlwaysBreakAfterReturnType : None
70+ AlwaysBreakBeforeMultilineStrings : true
5071AlwaysBreakTemplateDeclarations : true
5172
73+ # AttributeMacros:
74+ # - __capability
75+
5276BinPackArguments : false
53- BinPackParameters : false
77+ BinPackParameters : true
78+ BitFieldColonSpacing : Both
5479
5580BreakBeforeBraces : Custom
5681BraceWrapping :
57- AfterCaseLabel : true
58- AfterClass : false
82+ AfterCaseLabel : true
83+ AfterClass : false
5984 AfterControlStatement : false
60- AfterEnum : false
85+ AfterEnum : false
6186 AfterExternBlock : true
62- AfterFunction : true
63- AfterNamespace : true
64- AfterStruct : false
65- AfterUnion : false
66- BeforeCatch : false
67- BeforeElse : false
87+ AfterFunction : true
88+ AfterNamespace : true
89+ AfterStruct : false
90+ AfterUnion : false
91+ BeforeCatch : false
92+ BeforeElse : false
6893 BeforeLambdaBody : true
69- BeforeWhile : false
70- IndentBraces : false
94+ BeforeWhile : false
95+ IndentBraces : false
7196 SplitEmptyFunction : false
7297 SplitEmptyRecord : false
73- SplitEmptyNamespace : true
98+ SplitEmptyNamespace : false
99+
74100BreakAdjacentStringLiterals : true
75- BreakAfterAttributes : Never
76- # BreakAfterReturnType: Automatic
101+ BreakAfterAttributes : Leave
102+ BreakArrays : true
77103BreakBeforeBinaryOperators : None
78104BreakBeforeConceptDeclarations : Always
105+ BreakBeforeInlineASMColon : OnlyMultiline
79106BreakBeforeTernaryOperators : false
80107BreakConstructorInitializers : BeforeColon
81108BreakInheritanceList : AfterColon
82109BreakStringLiterals : true
83-
84- ColumnLimit : 95
110+ ColumnLimit : 95
111+ CommentPragmas : ' ^ IWYU pragma: '
85112CompactNamespaces : false
86113ConstructorInitializerIndentWidth : 4
87114ContinuationIndentWidth : 4
88- Cpp11BracedListStyle : false
89-
115+ Cpp11BracedListStyle : true
90116DerivePointerAlignment : false
91-
92117EmptyLineAfterAccessModifier : Never
93- EmptyLineBeforeAccessModifier : Always
94- ExperimentalAutoDetectBinPacking : true
95-
118+ EmptyLineBeforeAccessModifier : LogicalBlock
119+ ExperimentalAutoDetectBinPacking : false
96120FixNamespaceComments : true
97121
98- IncludeBlocks : Preserve
122+ # ForEachMacros:
123+ # - foreach
124+ # - Q_FOREACH
125+ # - BOOST_FOREACH
126+ # IfMacros:
127+ # - KJ_IF_MAYBE
128+
129+ IncludeCategories :
130+ - Regex : ' ^"(llvm|llvm-c|clang|clang-c)/'
131+ Priority : 2
132+ SortPriority : 0
133+ CaseSensitive : false
134+ - Regex : ' ^(<|"(gtest|gmock|isl|json)/)'
135+ Priority : 3
136+ SortPriority : 0
137+ CaseSensitive : false
138+ - Regex : ' .*'
139+ Priority : 1
140+ SortPriority : 0
141+ CaseSensitive : false
142+
143+ IncludeIsMainRegex : ' (Test)?$'
144+ IncludeIsMainSourceRegex : ' '
145+ IncludeBlocks : Preserve
99146IndentAccessModifiers : false
100147IndentCaseBlocks : false
101148IndentCaseLabels : false
102149IndentExternBlock : NoIndent
103- IndentGotoLabels : false
104- IndentPPDirectives : BeforeHash
105- IndentRequiresClause : false
150+ IndentGotoLabels : true
151+ IndentPPDirectives : AfterHash
152+ IndentRequiresClause : true
153+ IndentWidth : 4
106154IndentWrappedFunctionNames : false
107- InsertBraces : false
155+ InsertBraces : false
156+ InsertNewlineAtEOF : false
108157InsertTrailingCommas : None
158+
109159IntegerLiteralSeparator :
110- Binary : 0
111- Decimal : 3
112- Hex : 4
160+ Binary : 0
161+ Decimal : 3
162+ Hex : 4
113163
164+ KeepEmptyLinesAtTheStartOfBlocks : false
165+ KeepEmptyLinesAtEOF : true
114166LambdaBodyIndentation : Signature
115-
167+ LineEnding : DeriveLF
168+ MacroBlockBegin : ' '
169+ MacroBlockEnd : ' '
116170MaxEmptyLinesToKeep : 2
117-
118- NamespaceIndentation : All
119-
171+ NamespaceIndentation : None
120172PackConstructorInitializers : BinPack
121173PointerAlignment : Left
122- PPIndentWidth : -1
123-
174+ PPIndentWidth : -1
124175QualifierAlignment : Leave
125-
126176ReferenceAlignment : Pointer
127- ReflowComments : true
177+ ReflowComments : true
178+ RemoveBracesLLVM : false
128179RemoveParentheses : Leave
129180RemoveSemicolon : false
130- # RequiresClausePosition: OwnLineWithBrace
181+ RequiresClausePosition : OwnLine
131182RequiresExpressionIndentation : OuterScope
132-
133183SeparateDefinitionBlocks : Always
134- ShortNamespaceLines : 3
135- # SortIncludes:
136- # Enabled: true
137- # IgnoreCase: false
184+ ShortNamespaceLines : 1
185+ SkipMacroDefinitionBody : false
186+ SortIncludes : CaseSensitive
138187SortUsingDeclarations : LexicographicNumeric
139188SpaceAfterCStyleCast : false
140189SpaceAfterLogicalNot : false
@@ -145,35 +194,67 @@ SpaceBeforeCaseColon: false
145194SpaceBeforeCpp11BracedList : false
146195SpaceBeforeCtorInitializerColon : true
147196SpaceBeforeInheritanceColon : true
197+ SpaceBeforeJsonColon : false
198+
148199SpaceBeforeParens : Custom
149200SpaceBeforeParensOptions :
150201 AfterControlStatements : true
151202 AfterForeachMacros : true
152203 AfterFunctionDefinitionName : false
153204 AfterFunctionDeclarationName : false
154- AfterIfMacros : true
205+ AfterIfMacros : true
155206 AfterOverloadedOperator : false
156207 AfterPlacementOperator : true
157208 AfterRequiresInClause : false
158209 AfterRequiresInExpression : false
159210 BeforeNonEmptyParentheses : false
211+
160212SpaceBeforeRangeBasedForLoopColon : true
161213SpaceBeforeSquareBrackets : false
162214SpaceInEmptyBlock : true
163215SpacesBeforeTrailingComments : 1
216+ SpacesInAngles : Never
217+ SpacesInContainerLiterals : true
164218
165- # PENALTIES:
166- PenaltyReturnTypeOnItsOwnLine : 10000
167- PenaltyBreakTemplateDeclaration : 10000
168- # PenaltyBreakBeforeMemberAccess: 10000
169- PenaltyBreakAssignment : 800
170- PenaltyBreakScopeResolution : 500
219+ SpacesInLineCommentPrefix :
220+ Minimum : 1
221+ Maximum : -1
222+
223+ SpacesInParens : Never
224+ SpacesInParensOptions :
225+ InCStyleCasts : false
226+ InConditionalStatements : false
227+ InEmptyParentheses : false
228+ Other : false
229+
230+ SpacesInSquareBrackets : false
231+ Standard : Latest
232+ TabWidth : 4
233+ UseTab : Never
234+ VerilogBreakBetweenInstancePorts : true
235+
236+ # StatementAttributeLikeMacros:
237+ # - Q_EMIT
238+
239+ # StatementMacros:
240+ # - Q_UNUSED
241+ # - QT_REQUIRE_VERSION
242+
243+ # WhitespaceSensitiveMacros:
244+ # - BOOST_PP_STRINGIZE
245+ # - CF_SWIFT_NAME
246+ # - NS_SWIFT_NAME
247+ # - PP_STRINGIZE
248+ # - STRINGIZE
249+
250+ PenaltyBreakAssignment : 2
251+ PenaltyBreakBeforeFirstCallParameter : 10
171252PenaltyBreakComment : 500
172253PenaltyBreakFirstLessLess : 120
173- PenaltyExcessCharacter : 100
174- PenaltyBreakBeforeFirstCallParameter : 10
175- PenaltyBreakString : 10
176- PenaltyBreakOpenParenthesis : 10
254+ PenaltyBreakOpenParenthesis : 0
255+ PenaltyBreakScopeResolution : 500
256+ PenaltyBreakString : 100
257+ PenaltyBreakTemplateDeclaration : 10
258+ PenaltyExcessCharacter : 1000000
177259PenaltyIndentedWhitespace : 0
178-
179- ...
260+ PenaltyReturnTypeOnItsOwnLine : 10000
0 commit comments