mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-12 15:31:00 -05:00
170 lines
4.8 KiB
Text
170 lines
4.8 KiB
Text
|
# clang-format 14
|
||
|
|
||
|
Language: Cpp
|
||
|
Standard: c++20
|
||
|
|
||
|
AccessModifierOffset: -2 #?
|
||
|
AlignAfterOpenBracket: AlwaysBreak
|
||
|
AlignArrayOfStructures: Left
|
||
|
AlignConsecutiveAssignments: false
|
||
|
AlignConsecutiveBitFields: false
|
||
|
AlignConsecutiveDeclarations: false
|
||
|
AlignConsecutiveMacros: true
|
||
|
AlignEscapedNewlines: DontAlign
|
||
|
AlignOperands: AlignAfterOperator
|
||
|
AlignTrailingComments: true
|
||
|
AllowAllArgumentsOnNextLine: true
|
||
|
AllowAllConstructorInitializersOnNextLine: true
|
||
|
AllowAllParametersOfDeclarationOnNextLine: true
|
||
|
AllowShortBlocksOnASingleLine: Never
|
||
|
AllowShortCaseLabelsOnASingleLine: false
|
||
|
AllowShortEnumsOnASingleLine: false
|
||
|
AllowShortFunctionsOnASingleLine: Empty
|
||
|
AllowShortIfStatementsOnASingleLine: false
|
||
|
AllowShortLambdasOnASingleLine: Inline
|
||
|
AllowShortLoopsOnASingleLine: false
|
||
|
AlwaysBreakAfterReturnType: None
|
||
|
AlwaysBreakBeforeMultilineStrings: true
|
||
|
AlwaysBreakTemplateDeclarations: Yes
|
||
|
AttributeMacros: []
|
||
|
BinPackArguments: true
|
||
|
BinPackParameters: false
|
||
|
BitFieldColonSpacing: Both
|
||
|
BraceWrapping:
|
||
|
AfterCaseLabel: true
|
||
|
AfterClass: false
|
||
|
AfterControlStatement: MultiLine
|
||
|
AfterEnum: false
|
||
|
AfterFunction: false
|
||
|
AfterNamespace: false
|
||
|
#AfterObjCDeclaration
|
||
|
AfterStruct: false
|
||
|
AfterUnion: false
|
||
|
AfterExternBlock: false
|
||
|
BeforeCatch: false
|
||
|
BeforeElse: false
|
||
|
BeforeLambdaBody: true
|
||
|
BeforeWhile: false
|
||
|
IndentBraces: false
|
||
|
SplitEmptyFunction: true
|
||
|
SplitEmptyRecord: false
|
||
|
SplitEmptyNamespace: true
|
||
|
#BreakAfterJavaFieldAnnotations
|
||
|
BreakBeforeBinaryOperators: NonAssignment
|
||
|
BreakBeforeBraces: Custom
|
||
|
BreakBeforeConceptDeclarations: true
|
||
|
BreakBeforeTernaryOperators: true
|
||
|
BreakConstructorInitializers: BeforeComma
|
||
|
BreakInheritanceList: BeforeComma
|
||
|
BreakStringLiterals: false
|
||
|
ColumnLimit: 0
|
||
|
CommentPragmas: '' #?
|
||
|
CompactNamespaces: false
|
||
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
||
|
ConstructorInitializerIndentWidth: 2 #?
|
||
|
ContinuationIndentWidth: 2 #?
|
||
|
Cpp11BracedListStyle: true
|
||
|
DeriveLineEnding: true
|
||
|
DerivePointerAlignment: false
|
||
|
EmptyLineAfterAccessModifier: Leave
|
||
|
EmptyLineBeforeAccessModifier: Leave
|
||
|
FixNamespaceComments: true
|
||
|
ForEachMacros: []
|
||
|
IfMacros: ['MPT_MAYBE_CONSTANT_IF']
|
||
|
IncludeBlocks: Preserve
|
||
|
IncludeCategories: [] #?
|
||
|
IncludeIsMainRegex: '' #?
|
||
|
IncludeIsMainSourceRegex: '' #?
|
||
|
IndentAccessModifiers: false
|
||
|
IndentCaseBlocks: true
|
||
|
IndentCaseLabels: true
|
||
|
IndentExternBlock: NoIndent
|
||
|
IndentGotoLabels: false
|
||
|
IndentPPDirectives: None
|
||
|
#IndentRequiresClause: true
|
||
|
#BeforeHash
|
||
|
IndentWidth: 2
|
||
|
IndentWrappedFunctionNames: true
|
||
|
InsertTrailingCommas: None
|
||
|
#JavaImportGroups
|
||
|
#JavaScriptQuotes
|
||
|
#JavaScriptWrapImports
|
||
|
KeepEmptyLinesAtTheStartOfBlocks: true
|
||
|
LambdaBodyIndentation: OuterScope
|
||
|
MacroBlockBegin: '' #?
|
||
|
MacroBlockEnd: '' #?
|
||
|
MaxEmptyLinesToKeep: 3
|
||
|
NamespaceIndentation: None
|
||
|
NamespaceMacros: [] #?
|
||
|
#ObjCBinPackProtocolList
|
||
|
#ObjCBlockIndentWidth
|
||
|
#ObjCBreakBeforeNestedBlockParam
|
||
|
#ObjCSpaceAfterProperty
|
||
|
#ObjCSpaceBeforeProtocolList
|
||
|
PackConstructorInitializers: Never
|
||
|
#PenaltyBreakAssignment
|
||
|
#PenaltyBreakBeforeFirstCallParameter
|
||
|
#PenaltyBreakComment
|
||
|
#PenaltyBreakFirstLessLess
|
||
|
#PenaltyBreakOpenParenthesis
|
||
|
#PenaltyBreakString
|
||
|
#PenaltyBreakTemplateDeclaration
|
||
|
#PenaltyExcessCharacter
|
||
|
#PenaltyIndentedWhitespace
|
||
|
#PenaltyReturnTypeOnItsOwnLine
|
||
|
PointerAlignment: Middle
|
||
|
PPIndentWidth: -1
|
||
|
#RawStringFormats
|
||
|
QualifierAlignment: Leave
|
||
|
#QualifierOrder: ['static', 'inline', 'constexpr', 'volatile', 'const', 'restrict', 'type']
|
||
|
ReferenceAlignment: Pointer
|
||
|
ReflowComments: false
|
||
|
RemoveBracesLLVM: false
|
||
|
SeparateDefinitionBlocks: Leave
|
||
|
ShortNamespaceLines: 1
|
||
|
SortIncludes: false
|
||
|
#SortJavaStaticImport
|
||
|
SortUsingDeclarations: true
|
||
|
SpaceAfterCStyleCast: false
|
||
|
SpaceAfterLogicalNot: false
|
||
|
SpaceAfterTemplateKeyword: true
|
||
|
SpaceAroundPointerQualifiers: Default
|
||
|
SpaceBeforeAssignmentOperators: true
|
||
|
SpaceBeforeCaseColon: false
|
||
|
SpaceBeforeCpp11BracedList: false
|
||
|
SpaceBeforeCtorInitializerColon: true
|
||
|
SpaceBeforeInheritanceColon: true
|
||
|
SpaceBeforeParens: ControlStatements
|
||
|
SpaceBeforeParensOptions:
|
||
|
AfterControlStatements: true
|
||
|
AfterForeachMacros: true
|
||
|
AfterFunctionDeclarationName: false
|
||
|
AfterFunctionDefinitionName: false
|
||
|
AfterIfMacros: true
|
||
|
AfterOverloadedOperator: false
|
||
|
#AfterRequiresInClause: false
|
||
|
#AfterRequiresInExpression: false
|
||
|
BeforeNonEmptyParentheses: false
|
||
|
SpaceBeforeRangeBasedForLoopColon: true
|
||
|
SpaceBeforeSquareBrackets: false
|
||
|
SpaceInEmptyBlock: true
|
||
|
SpaceInEmptyParentheses: false
|
||
|
SpacesBeforeTrailingComments: 2
|
||
|
SpacesInAngles: false
|
||
|
SpacesInCStyleCastParentheses: false
|
||
|
SpacesInConditionalStatement: true
|
||
|
SpacesInContainerLiterals: true
|
||
|
SpacesInLineCommentPrefix:
|
||
|
Minimum: 1
|
||
|
Maximum: -1
|
||
|
SpacesInParentheses: true
|
||
|
SpacesInSquareBrackets: false
|
||
|
StatementAttributeLikeMacros: []
|
||
|
StatementMacros: [ 'MPT_WARNING', 'MPT_TEST_GROUP_INLINE_IDENTIFIER', 'MPT_TEST_GROUP_INLINE', 'MPT_TEST_GROUP_STATIC' ] #?
|
||
|
TabWidth: 2
|
||
|
TypenameMacros: [] #?
|
||
|
UseCRLF: false
|
||
|
UseTab: ForContinuationAndIndentation
|
||
|
WhitespaceSensitiveMacros:
|
||
|
- MPT_PP_STRINGIFY
|