1
1
# Commented out parameters are those with the same value as base LLVM style.
2
2
# We can uncomment them if we want to change their value, or enforce the
3
- # chosen value in case the base style changes (last sync: Clang 19.1.0 ).
3
+ # chosen value in case the base style changes (last sync: Clang 17.0.6 ).
4
4
BasedOnStyle : LLVM
5
5
AccessModifierOffset : -4
6
6
AlignAfterOpenBracket : DontAlign
@@ -10,74 +10,48 @@ AlignAfterOpenBracket: DontAlign
10
10
# AcrossEmptyLines: false
11
11
# AcrossComments: false
12
12
# AlignCompound: false
13
- # AlignFunctionPointers: false
14
13
# PadOperators: true
15
14
# AlignConsecutiveBitFields:
16
15
# Enabled: false
17
16
# AcrossEmptyLines: false
18
17
# AcrossComments: false
19
18
# AlignCompound: false
20
- # AlignFunctionPointers: false
21
19
# PadOperators: false
22
20
# AlignConsecutiveDeclarations:
23
21
# Enabled: false
24
22
# AcrossEmptyLines: false
25
23
# AcrossComments: false
26
24
# AlignCompound: false
27
- # AlignFunctionPointers: false
28
25
# PadOperators: false
29
26
# AlignConsecutiveMacros:
30
27
# Enabled: false
31
28
# AcrossEmptyLines: false
32
29
# AcrossComments: false
33
30
# AlignCompound: false
34
- # AlignFunctionPointers: false
35
31
# PadOperators: false
36
32
# AlignConsecutiveShortCaseStatements:
37
33
# Enabled: false
38
34
# AcrossEmptyLines: false
39
35
# AcrossComments: false
40
- # AlignCaseArrows: false
41
36
# AlignCaseColons: false
42
- # AlignConsecutiveTableGenBreakingDAGArgColons:
43
- # Enabled: false
44
- # AcrossEmptyLines: false
45
- # AcrossComments: false
46
- # AlignCompound: false
47
- # AlignFunctionPointers: false
48
- # PadOperators: false
49
- # AlignConsecutiveTableGenCondOperatorColons:
50
- # Enabled: false
51
- # AcrossEmptyLines: false
52
- # AcrossComments: false
53
- # AlignCompound: false
54
- # AlignFunctionPointers: false
55
- # PadOperators: false
56
- # AlignConsecutiveTableGenDefinitionColons:
57
- # Enabled: false
58
- # AcrossEmptyLines: false
59
- # AcrossComments: false
60
- # AlignCompound: false
61
- # AlignFunctionPointers: false
62
- # PadOperators: false
63
37
# AlignEscapedNewlines: Right
64
38
AlignOperands : DontAlign
65
39
AlignTrailingComments :
66
40
Kind : Never
67
41
OverEmptyLines : 0
68
42
# AllowAllArgumentsOnNextLine: true
69
43
AllowAllParametersOfDeclarationOnNextLine : false
70
- # AllowBreakBeforeNoexceptSpecifier: Never
71
44
# AllowShortBlocksOnASingleLine: Never
72
- # AllowShortCaseExpressionOnASingleLine: true
73
45
# AllowShortCaseLabelsOnASingleLine: false
74
- # AllowShortCompoundRequirementOnASingleLine: true
75
46
# AllowShortEnumsOnASingleLine: true
76
47
# AllowShortFunctionsOnASingleLine: All
77
48
# AllowShortIfStatementsOnASingleLine: Never
78
49
# AllowShortLambdasOnASingleLine: All
79
50
# AllowShortLoopsOnASingleLine: false
51
+ # AlwaysBreakAfterDefinitionReturnType: None
52
+ # AlwaysBreakAfterReturnType: None
80
53
# AlwaysBreakBeforeMultilineStrings: false
54
+ # AlwaysBreakTemplateDeclarations: MultiLine
81
55
# AttributeMacros:
82
56
# - __capability
83
57
# BinPackArguments: true
@@ -102,21 +76,17 @@ AllowAllParametersOfDeclarationOnNextLine: false
102
76
# SplitEmptyFunction: true
103
77
# SplitEmptyRecord: true
104
78
# SplitEmptyNamespace: true
105
- # BreakAdjacentStringLiterals: true
106
- # BreakAfterAttributes: Leave
79
+ # BreakAfterAttributes: Never
107
80
# BreakAfterJavaFieldAnnotations: false
108
- # BreakAfterReturnType: None
109
81
# BreakArrays: true
110
82
# BreakBeforeBinaryOperators: None
111
83
# BreakBeforeBraces: Attach
112
84
# BreakBeforeConceptDeclarations: Always
113
85
# BreakBeforeInlineASMColon: OnlyMultiline
114
86
# BreakBeforeTernaryOperators: true
115
87
BreakConstructorInitializers : AfterColon
116
- # BreakFunctionDefinitionParameters: false
117
88
# BreakInheritanceList: BeforeColon
118
89
# BreakStringLiterals: true
119
- # BreakTemplateDeclarations: MultiLine
120
90
ColumnLimit : 0
121
91
# CommentPragmas: '^ IWYU pragma:'
122
92
# CompactNamespaces: false
@@ -174,16 +144,13 @@ JavaImportGroups:
174
144
- javax
175
145
# JavaScriptQuotes: Leave
176
146
# JavaScriptWrapImports: true
177
- KeepEmptyLines :
178
- AtEndOfFile : false
179
- AtStartOfBlock : false
180
- AtStartOfFile : false
147
+ # KeepEmptyLinesAtEOF: false
148
+ KeepEmptyLinesAtTheStartOfBlocks : false
181
149
# LambdaBodyIndentation: Signature
182
150
# Language: Cpp
183
151
# LineEnding: DeriveLF
184
152
# MacroBlockBegin: ''
185
153
# MacroBlockEnd: ''
186
- # MainIncludeChar: Quote
187
154
# MaxEmptyLinesToKeep: 1
188
155
# NamespaceIndentation: None
189
156
# ObjCBinPackProtocolList: Auto
@@ -198,7 +165,6 @@ PackConstructorInitializers: NextLine
198
165
# PenaltyBreakComment: 300
199
166
# PenaltyBreakFirstLessLess: 120
200
167
# PenaltyBreakOpenParenthesis: 0
201
- # PenaltyBreakScopeResolution: 500
202
168
# PenaltyBreakString: 1000
203
169
# PenaltyBreakTemplateDeclaration: 10
204
170
# PenaltyExcessCharacter: 1000000
@@ -215,7 +181,6 @@ RemoveSemicolon: true
215
181
# RequiresExpressionIndentation: OuterScope
216
182
# SeparateDefinitionBlocks: Leave
217
183
# ShortNamespaceLines: 1
218
- # SkipMacroDefinitionBody: false
219
184
# SortIncludes: CaseSensitive
220
185
# SortJavaStaticImport: Before
221
186
# SortUsingDeclarations: LexicographicNumeric
@@ -229,14 +194,14 @@ RemoveSemicolon: true
229
194
# SpaceBeforeCtorInitializerColon: true
230
195
# SpaceBeforeInheritanceColon: true
231
196
# SpaceBeforeJsonColon: false
197
+ # SpaceBeforeParens: ControlStatements
232
198
# SpaceBeforeParensOptions:
233
199
# AfterControlStatements: true
234
200
# AfterForeachMacros: true
235
201
# AfterFunctionDeclarationName: false
236
202
# AfterFunctionDefinitionName: false
237
203
# AfterIfMacros: true
238
204
# AfterOverloadedOperator: false
239
- # AfterPlacementOperator: true
240
205
# AfterRequiresInClause: false
241
206
# AfterRequiresInExpression: false
242
207
# BeforeNonEmptyParentheses: false
@@ -251,7 +216,6 @@ SpacesInLineCommentPrefix:
251
216
Maximum : -1
252
217
# SpacesInParens: Never
253
218
# SpacesInParensOptions:
254
- # ExceptDoubleParentheses: false
255
219
# InConditionalStatements: false
256
220
# InCStyleCasts: false
257
221
# InEmptyParentheses: false
@@ -264,7 +228,6 @@ Standard: c++20
264
228
# - Q_UNUSED
265
229
# - QT_REQUIRE_VERSION
266
230
TabWidth : 4
267
- # TableGenBreakInsideDAGArg: DontBreak
268
231
UseTab : Always
269
232
# VerilogBreakBetweenInstancePorts: true
270
233
# WhitespaceSensitiveMacros:
0 commit comments