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 18 .1.8 ).
3
+ # chosen value in case the base style changes (last sync: Clang 19 .1.0 ).
4
4
BasedOnStyle : LLVM
5
5
AccessModifierOffset : -4
6
6
AlignAfterOpenBracket : DontAlign
@@ -37,7 +37,29 @@ AlignAfterOpenBracket: DontAlign
37
37
# Enabled: false
38
38
# AcrossEmptyLines: false
39
39
# AcrossComments: false
40
+ # AlignCaseArrows: false
40
41
# 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
41
63
# AlignEscapedNewlines: Right
42
64
AlignOperands : DontAlign
43
65
AlignTrailingComments :
@@ -47,16 +69,15 @@ AlignTrailingComments:
47
69
AllowAllParametersOfDeclarationOnNextLine : false
48
70
# AllowBreakBeforeNoexceptSpecifier: Never
49
71
# AllowShortBlocksOnASingleLine: Never
72
+ # AllowShortCaseExpressionOnASingleLine: true
50
73
# AllowShortCaseLabelsOnASingleLine: false
51
74
# AllowShortCompoundRequirementOnASingleLine: true
52
75
# AllowShortEnumsOnASingleLine: true
53
76
# AllowShortFunctionsOnASingleLine: All
54
77
# AllowShortIfStatementsOnASingleLine: Never
55
78
# AllowShortLambdasOnASingleLine: All
56
79
# AllowShortLoopsOnASingleLine: false
57
- # AlwaysBreakAfterReturnType: None
58
80
# AlwaysBreakBeforeMultilineStrings: false
59
- # AlwaysBreakTemplateDeclarations: MultiLine
60
81
# AttributeMacros:
61
82
# - __capability
62
83
# BinPackArguments: true
@@ -84,15 +105,18 @@ AllowAllParametersOfDeclarationOnNextLine: false
84
105
# BreakAdjacentStringLiterals: true
85
106
# BreakAfterAttributes: Leave
86
107
# BreakAfterJavaFieldAnnotations: false
108
+ # BreakAfterReturnType: None
87
109
# BreakArrays: true
88
110
# BreakBeforeBinaryOperators: None
89
111
# BreakBeforeBraces: Attach
90
112
# BreakBeforeConceptDeclarations: Always
91
113
# BreakBeforeInlineASMColon: OnlyMultiline
92
114
# BreakBeforeTernaryOperators: true
93
115
BreakConstructorInitializers : AfterColon
116
+ # BreakFunctionDefinitionParameters: false
94
117
# BreakInheritanceList: BeforeColon
95
118
# BreakStringLiterals: true
119
+ # BreakTemplateDeclarations: MultiLine
96
120
ColumnLimit : 0
97
121
# CommentPragmas: '^ IWYU pragma:'
98
122
# CompactNamespaces: false
@@ -150,13 +174,16 @@ JavaImportGroups:
150
174
- javax
151
175
# JavaScriptQuotes: Leave
152
176
# JavaScriptWrapImports: true
153
- # KeepEmptyLinesAtEOF: false
154
- KeepEmptyLinesAtTheStartOfBlocks : false
177
+ KeepEmptyLines :
178
+ AtEndOfFile : false
179
+ AtStartOfBlock : false
180
+ AtStartOfFile : false
155
181
# LambdaBodyIndentation: Signature
156
182
# Language: Cpp
157
183
# LineEnding: DeriveLF
158
184
# MacroBlockBegin: ''
159
185
# MacroBlockEnd: ''
186
+ # MainIncludeChar: Quote
160
187
# MaxEmptyLinesToKeep: 1
161
188
# NamespaceIndentation: None
162
189
# ObjCBinPackProtocolList: Auto
@@ -219,13 +246,12 @@ RemoveSemicolon: true
219
246
# SpacesBeforeTrailingComments: 1
220
247
# SpacesInAngles: Never
221
248
# SpacesInContainerLiterals: true
222
- # # Godot TODO: We'll want to use a min of 1, but we need to see how to fix
223
- # # our comment capitalization at the same time.
224
249
SpacesInLineCommentPrefix :
225
- Minimum : 0
250
+ Minimum : 0 # We want a minimum of 1 for comments, but allow 0 for disabled code.
226
251
Maximum : -1
227
252
# SpacesInParens: Never
228
253
# SpacesInParensOptions:
254
+ # ExceptDoubleParentheses: false
229
255
# InConditionalStatements: false
230
256
# InCStyleCasts: false
231
257
# InEmptyParentheses: false
@@ -238,6 +264,7 @@ Standard: c++20
238
264
# - Q_UNUSED
239
265
# - QT_REQUIRE_VERSION
240
266
TabWidth : 4
267
+ # TableGenBreakInsideDAGArg: DontBreak
241
268
UseTab : Always
242
269
# VerilogBreakBetweenInstancePorts: true
243
270
# WhitespaceSensitiveMacros:
0 commit comments