|
@@ -1,6 +1,6 @@
|
|
# Commented out parameters are those with the same value as base LLVM style.
|
|
# Commented out parameters are those with the same value as base LLVM style.
|
|
# We can uncomment them if we want to change their value, or enforce the
|
|
# We can uncomment them if we want to change their value, or enforce the
|
|
-# chosen value in case the base style changes (last sync: Clang 18.1.8).
|
|
|
|
|
|
+# chosen value in case the base style changes (last sync: Clang 19.1.0).
|
|
BasedOnStyle: LLVM
|
|
BasedOnStyle: LLVM
|
|
AccessModifierOffset: -4
|
|
AccessModifierOffset: -4
|
|
AlignAfterOpenBracket: DontAlign
|
|
AlignAfterOpenBracket: DontAlign
|
|
@@ -37,7 +37,29 @@ AlignAfterOpenBracket: DontAlign
|
|
# Enabled: false
|
|
# Enabled: false
|
|
# AcrossEmptyLines: false
|
|
# AcrossEmptyLines: false
|
|
# AcrossComments: false
|
|
# AcrossComments: false
|
|
|
|
+# AlignCaseArrows: false
|
|
# AlignCaseColons: false
|
|
# AlignCaseColons: false
|
|
|
|
+# AlignConsecutiveTableGenBreakingDAGArgColons:
|
|
|
|
+# Enabled: false
|
|
|
|
+# AcrossEmptyLines: false
|
|
|
|
+# AcrossComments: false
|
|
|
|
+# AlignCompound: false
|
|
|
|
+# AlignFunctionPointers: false
|
|
|
|
+# PadOperators: false
|
|
|
|
+# AlignConsecutiveTableGenCondOperatorColons:
|
|
|
|
+# Enabled: false
|
|
|
|
+# AcrossEmptyLines: false
|
|
|
|
+# AcrossComments: false
|
|
|
|
+# AlignCompound: false
|
|
|
|
+# AlignFunctionPointers: false
|
|
|
|
+# PadOperators: false
|
|
|
|
+# AlignConsecutiveTableGenDefinitionColons:
|
|
|
|
+# Enabled: false
|
|
|
|
+# AcrossEmptyLines: false
|
|
|
|
+# AcrossComments: false
|
|
|
|
+# AlignCompound: false
|
|
|
|
+# AlignFunctionPointers: false
|
|
|
|
+# PadOperators: false
|
|
# AlignEscapedNewlines: Right
|
|
# AlignEscapedNewlines: Right
|
|
AlignOperands: DontAlign
|
|
AlignOperands: DontAlign
|
|
AlignTrailingComments:
|
|
AlignTrailingComments:
|
|
@@ -47,6 +69,7 @@ AlignTrailingComments:
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
# AllowBreakBeforeNoexceptSpecifier: Never
|
|
# AllowBreakBeforeNoexceptSpecifier: Never
|
|
# AllowShortBlocksOnASingleLine: Never
|
|
# AllowShortBlocksOnASingleLine: Never
|
|
|
|
+# AllowShortCaseExpressionOnASingleLine: true
|
|
# AllowShortCaseLabelsOnASingleLine: false
|
|
# AllowShortCaseLabelsOnASingleLine: false
|
|
# AllowShortCompoundRequirementOnASingleLine: true
|
|
# AllowShortCompoundRequirementOnASingleLine: true
|
|
# AllowShortEnumsOnASingleLine: true
|
|
# AllowShortEnumsOnASingleLine: true
|
|
@@ -54,9 +77,7 @@ AllowAllParametersOfDeclarationOnNextLine: false
|
|
# AllowShortIfStatementsOnASingleLine: Never
|
|
# AllowShortIfStatementsOnASingleLine: Never
|
|
# AllowShortLambdasOnASingleLine: All
|
|
# AllowShortLambdasOnASingleLine: All
|
|
# AllowShortLoopsOnASingleLine: false
|
|
# AllowShortLoopsOnASingleLine: false
|
|
-# AlwaysBreakAfterReturnType: None
|
|
|
|
# AlwaysBreakBeforeMultilineStrings: false
|
|
# AlwaysBreakBeforeMultilineStrings: false
|
|
-# AlwaysBreakTemplateDeclarations: MultiLine
|
|
|
|
# AttributeMacros:
|
|
# AttributeMacros:
|
|
# - __capability
|
|
# - __capability
|
|
# BinPackArguments: true
|
|
# BinPackArguments: true
|
|
@@ -84,6 +105,7 @@ AllowAllParametersOfDeclarationOnNextLine: false
|
|
# BreakAdjacentStringLiterals: true
|
|
# BreakAdjacentStringLiterals: true
|
|
# BreakAfterAttributes: Leave
|
|
# BreakAfterAttributes: Leave
|
|
# BreakAfterJavaFieldAnnotations: false
|
|
# BreakAfterJavaFieldAnnotations: false
|
|
|
|
+# BreakAfterReturnType: None
|
|
# BreakArrays: true
|
|
# BreakArrays: true
|
|
# BreakBeforeBinaryOperators: None
|
|
# BreakBeforeBinaryOperators: None
|
|
# BreakBeforeBraces: Attach
|
|
# BreakBeforeBraces: Attach
|
|
@@ -91,8 +113,10 @@ AllowAllParametersOfDeclarationOnNextLine: false
|
|
# BreakBeforeInlineASMColon: OnlyMultiline
|
|
# BreakBeforeInlineASMColon: OnlyMultiline
|
|
# BreakBeforeTernaryOperators: true
|
|
# BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializers: AfterColon
|
|
BreakConstructorInitializers: AfterColon
|
|
|
|
+# BreakFunctionDefinitionParameters: false
|
|
# BreakInheritanceList: BeforeColon
|
|
# BreakInheritanceList: BeforeColon
|
|
# BreakStringLiterals: true
|
|
# BreakStringLiterals: true
|
|
|
|
+# BreakTemplateDeclarations: MultiLine
|
|
ColumnLimit: 0
|
|
ColumnLimit: 0
|
|
# CommentPragmas: '^ IWYU pragma:'
|
|
# CommentPragmas: '^ IWYU pragma:'
|
|
# CompactNamespaces: false
|
|
# CompactNamespaces: false
|
|
@@ -150,13 +174,16 @@ JavaImportGroups:
|
|
- javax
|
|
- javax
|
|
# JavaScriptQuotes: Leave
|
|
# JavaScriptQuotes: Leave
|
|
# JavaScriptWrapImports: true
|
|
# JavaScriptWrapImports: true
|
|
-# KeepEmptyLinesAtEOF: false
|
|
|
|
-KeepEmptyLinesAtTheStartOfBlocks: false
|
|
|
|
|
|
+KeepEmptyLines:
|
|
|
|
+ AtEndOfFile: false
|
|
|
|
+ AtStartOfBlock: false
|
|
|
|
+ AtStartOfFile: false
|
|
# LambdaBodyIndentation: Signature
|
|
# LambdaBodyIndentation: Signature
|
|
# Language: Cpp
|
|
# Language: Cpp
|
|
# LineEnding: DeriveLF
|
|
# LineEnding: DeriveLF
|
|
# MacroBlockBegin: ''
|
|
# MacroBlockBegin: ''
|
|
# MacroBlockEnd: ''
|
|
# MacroBlockEnd: ''
|
|
|
|
+# MainIncludeChar: Quote
|
|
# MaxEmptyLinesToKeep: 1
|
|
# MaxEmptyLinesToKeep: 1
|
|
# NamespaceIndentation: None
|
|
# NamespaceIndentation: None
|
|
# ObjCBinPackProtocolList: Auto
|
|
# ObjCBinPackProtocolList: Auto
|
|
@@ -219,13 +246,12 @@ RemoveSemicolon: true
|
|
# SpacesBeforeTrailingComments: 1
|
|
# SpacesBeforeTrailingComments: 1
|
|
# SpacesInAngles: Never
|
|
# SpacesInAngles: Never
|
|
# SpacesInContainerLiterals: true
|
|
# SpacesInContainerLiterals: true
|
|
-## Godot TODO: We'll want to use a min of 1, but we need to see how to fix
|
|
|
|
-## our comment capitalization at the same time.
|
|
|
|
SpacesInLineCommentPrefix:
|
|
SpacesInLineCommentPrefix:
|
|
- Minimum: 0
|
|
|
|
|
|
+ Minimum: 0 # We want a minimum of 1 for comments, but allow 0 for disabled code.
|
|
Maximum: -1
|
|
Maximum: -1
|
|
# SpacesInParens: Never
|
|
# SpacesInParens: Never
|
|
# SpacesInParensOptions:
|
|
# SpacesInParensOptions:
|
|
|
|
+# ExceptDoubleParentheses: false
|
|
# InConditionalStatements: false
|
|
# InConditionalStatements: false
|
|
# InCStyleCasts: false
|
|
# InCStyleCasts: false
|
|
# InEmptyParentheses: false
|
|
# InEmptyParentheses: false
|
|
@@ -238,6 +264,7 @@ Standard: c++20
|
|
# - Q_UNUSED
|
|
# - Q_UNUSED
|
|
# - QT_REQUIRE_VERSION
|
|
# - QT_REQUIRE_VERSION
|
|
TabWidth: 4
|
|
TabWidth: 4
|
|
|
|
+# TableGenBreakInsideDAGArg: DontBreak
|
|
UseTab: Always
|
|
UseTab: Always
|
|
# VerilogBreakBetweenInstancePorts: true
|
|
# VerilogBreakBetweenInstancePorts: true
|
|
# WhitespaceSensitiveMacros:
|
|
# WhitespaceSensitiveMacros:
|