81 lines
2.2 KiB
YAML
81 lines
2.2 KiB
YAML
# clang-format configuration file. Intended for clang-format >= 14.
|
|
#
|
|
# For more information, see:
|
|
#
|
|
# Documentation/process/clang-format.rst
|
|
# https://clang.llvm.org/docs/ClangFormat.html
|
|
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
|
#
|
|
---
|
|
AlignAfterOpenBracket: AlwaysBreak
|
|
AlignArrayOfStructures: None
|
|
AlignConsecutiveAssignments: false
|
|
AlignConsecutiveDeclarations: false
|
|
AlignConsecutiveMacros: true
|
|
AlignEscapedNewlines: Left
|
|
AlignOperands: DontAlign
|
|
AlignTrailingComments: true
|
|
AllowAllArgumentsOnNextLine: false
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
AllowShortBlocksOnASingleLine: true
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
AllowShortFunctionsOnASingleLine: None
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortLoopsOnASingleLine: false
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
AttributeMacros: ['ADDAPI', 'ADDCALL']
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
BraceWrapping:
|
|
AfterControlStatement: false
|
|
AfterEnum: false
|
|
AfterFunction: true
|
|
AfterStruct: false
|
|
AfterUnion: false
|
|
BeforeElse: false
|
|
IndentBraces: false
|
|
SplitEmptyFunction: true
|
|
SplitEmptyRecord: true
|
|
BreakBeforeBinaryOperators: None
|
|
BreakBeforeBraces: Custom
|
|
BreakBeforeTernaryOperators: false
|
|
BreakStringLiterals: false
|
|
ColumnLimit: 90
|
|
ContinuationIndentWidth: 8
|
|
DerivePointerAlignment: false
|
|
DisableFormat: false
|
|
ExperimentalAutoDetectBinPacking: false
|
|
IncludeBlocks: Preserve
|
|
IncludeCategories:
|
|
- Regex: '.*'
|
|
Priority: 1
|
|
IndentCaseLabels: false
|
|
IndentGotoLabels: false
|
|
IndentPPDirectives: BeforeHash
|
|
IndentWidth: 8
|
|
IndentWrappedFunctionNames: false
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
MaxEmptyLinesToKeep: 1
|
|
PenaltyBreakAssignment: 0
|
|
PenaltyBreakBeforeFirstCallParameter: 0
|
|
PenaltyBreakOpenParenthesis: 0
|
|
PenaltyExcessCharacter: 100
|
|
PenaltyReturnTypeOnItsOwnLine: 1000
|
|
PointerAlignment: Left
|
|
ReflowComments: false
|
|
SeparateDefinitionBlocks: Always
|
|
SortIncludes: false
|
|
SpaceAfterCStyleCast: true
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceInEmptyParentheses: false
|
|
SpacesBeforeTrailingComments: 1
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInParentheses: false
|
|
SpacesInSquareBrackets: false
|
|
TabWidth: 8
|
|
UseTab: ForContinuationAndIndentation
|
|
...
|