strawberry-audio-player-win.../.clang-format

217 lines
5.9 KiB
Plaintext
Raw Normal View History

2022-10-12 21:28:14 +02:00
---
Language: Cpp
# BasedOnStyle: LLVM
2020-10-09 21:02:18 +02:00
AccessModifierOffset: -1
2022-10-12 21:28:14 +02:00
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: true
AlignConsecutiveBitFields:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: false
AlignEscapedNewlines: Left
AlignOperands: DontAlign
2020-10-09 21:02:18 +02:00
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
2022-10-12 21:28:14 +02:00
AllowShortEnumsOnASingleLine: true
AllowShortBlocksOnASingleLine: Never
2020-10-09 21:02:18 +02:00
AllowShortCaseLabelsOnASingleLine: true
2022-10-12 21:28:14 +02:00
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
2020-10-09 21:02:18 +02:00
AllowShortLoopsOnASingleLine: true
2022-10-12 21:28:14 +02:00
AlwaysBreakAfterDefinitionReturnType: None
2020-10-09 21:02:18 +02:00
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: No
2022-10-12 21:28:14 +02:00
AttributeMacros:
- __capability
2020-10-09 21:02:18 +02:00
BinPackArguments: true
BinPackParameters: true
2022-10-12 21:28:14 +02:00
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: true
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
2020-10-09 21:02:18 +02:00
BreakBeforeTernaryOperators: false
2022-10-12 21:28:14 +02:00
BreakConstructorInitializersBeforeComma: false
2020-10-09 21:02:18 +02:00
BreakConstructorInitializers: BeforeColon
2022-10-12 21:28:14 +02:00
BreakAfterJavaFieldAnnotations: false
2020-10-09 21:02:18 +02:00
BreakStringLiterals: false
2022-10-12 21:28:14 +02:00
ColumnLimit: 0
CommentPragmas: '^ IWYU pragma:'
QualifierAlignment: Leave
2020-10-09 21:02:18 +02:00
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 2
Cpp11BracedListStyle: false
DeriveLineEnding: true
2022-10-12 21:28:14 +02:00
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
PackConstructorInitializers: BinPack
BasedOnStyle: ''
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowAllConstructorInitializersOnNextLine: true
2020-10-09 21:02:18 +02:00
FixNamespaceComments: true
2022-10-12 21:28:14 +02:00
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
CaseSensitive: false
- Regex: '.*'
Priority: 1
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
2020-10-09 21:02:18 +02:00
IndentCaseLabels: true
2022-10-12 21:28:14 +02:00
IndentCaseBlocks: false
2020-10-09 21:02:18 +02:00
IndentGotoLabels: true
IndentPPDirectives: AfterHash
2022-10-12 21:28:14 +02:00
IndentExternBlock: AfterExternBlock
IndentRequiresClause: true
IndentWidth: 2
2020-10-09 21:02:18 +02:00
IndentWrappedFunctionNames: false
2022-10-12 21:28:14 +02:00
InsertBraces: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
2020-10-09 21:02:18 +02:00
KeepEmptyLinesAtTheStartOfBlocks: true
2022-10-12 21:28:14 +02:00
LambdaBodyIndentation: Signature
MacroBlockBegin: ''
MacroBlockEnd: ''
2020-10-09 21:02:18 +02:00
MaxEmptyLinesToKeep: 100
NamespaceIndentation: None
2022-10-12 21:28:14 +02:00
ObjCBinPackProtocolList: Auto
2020-10-09 21:02:18 +02:00
ObjCBlockIndentWidth: 2
2022-10-12 21:28:14 +02:00
ObjCBreakBeforeNestedBlockParam: true
2020-10-09 21:02:18 +02:00
ObjCSpaceAfterProperty: false
2022-10-12 21:28:14 +02:00
ObjCSpaceBeforeProtocolList: true
2020-10-09 21:02:18 +02:00
PenaltyBreakAssignment: 0
PenaltyBreakBeforeFirstCallParameter: 0
PenaltyBreakComment: 0
PenaltyBreakFirstLessLess: 0
2022-10-12 21:28:14 +02:00
PenaltyBreakOpenParenthesis: 0
2020-10-09 21:02:18 +02:00
PenaltyBreakString: 0
PenaltyBreakTemplateDeclaration: 0
PenaltyExcessCharacter: 0
PenaltyReturnTypeOnItsOwnLine: 0
2022-10-12 21:28:14 +02:00
PenaltyIndentedWhitespace: 0
2020-10-09 21:02:18 +02:00
PointerAlignment: Right
2022-10-12 21:28:14 +02:00
PPIndentWidth: -1
ReferenceAlignment: Pointer
ReflowComments: false
RemoveBracesLLVM: false
RequiresClausePosition: OwnLine
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SortIncludes: false
SortJavaStaticImport: Before
2020-10-09 21:02:18 +02:00
SortUsingDeclarations: false
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
2022-10-12 21:28:14 +02:00
SpaceBeforeCaseColon: false
2020-10-09 21:02:18 +02:00
SpaceBeforeCpp11BracedList: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
2022-10-12 21:28:14 +02:00
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceAroundPointerQualifiers: Default
2020-10-09 21:02:18 +02:00
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
2022-10-12 21:28:14 +02:00
SpacesInAngles: Never
2020-10-09 21:02:18 +02:00
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
2022-10-12 21:28:14 +02:00
SpacesInCStyleCastParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
2020-10-09 21:02:18 +02:00
SpacesInParentheses: false
SpacesInSquareBrackets: false
2022-10-12 21:28:14 +02:00
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: Latest
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseCRLF: false
UseTab: Never
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
- NS_SWIFT_NAME
- CF_SWIFT_NAME
...