aseprite/.clang-format

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

224 lines
6.0 KiB
Plaintext
Raw Normal View History

---
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignArrayOfStructures: Left
AlignConsecutiveAssignments:
AcrossComments: false
AcrossEmptyLines: false
AlignCompound: false
AlignFunctionPointers: false
Enabled: false
PadOperators: true
AlignConsecutiveBitFields:
AcrossComments: false
AcrossEmptyLines: false
AlignCompound: false
AlignFunctionPointers: false
Enabled: false
PadOperators: true
AlignConsecutiveDeclarations:
AcrossComments: false
AcrossEmptyLines: false
AlignCompound: false
AlignFunctionPointers: false
Enabled: false
PadOperators: true
AlignConsecutiveMacros:
AcrossComments: false
AcrossEmptyLines: true
AlignCompound: false
AlignFunctionPointers: false
Enabled: true
PadOperators: true
AlignConsecutiveShortCaseStatements:
AcrossComments: true
AcrossEmptyLines: true
AlignCaseArrows: true
AlignCaseColons: false
Enabled: true
AlignConsecutiveTableGenCondOperatorColons:
AcrossComments: false
AcrossEmptyLines: false
AlignCompound: false
AlignFunctionPointers: false
Enabled: false
PadOperators: false
AlignConsecutiveTableGenDefinitionColons:
AcrossComments: false
AcrossEmptyLines: false
AlignCompound: false
AlignFunctionPointers: false
Enabled: false
PadOperators: false
AlignEscapedNewlines: Right
2024-12-12 07:47:59 +00:00
AlignOperands: Align
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowBreakBeforeNoexceptSpecifier: Never
AllowShortBlocksOnASingleLine: Never
AllowShortCaseExpressionOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortCompoundRequirementOnASingleLine: true
2024-12-12 07:47:59 +00:00
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: Never
2024-12-12 07:47:59 +00:00
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakBeforeMultilineStrings: false
BinPackArguments: false
BinPackParameters: false
2024-12-12 07:47:59 +00:00
BitFieldColonSpacing: Both
BraceWrapping:
2024-12-12 07:47:59 +00:00
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
2024-12-12 07:47:59 +00:00
AfterEnum: false
AfterExternBlock: false
2024-12-12 07:47:59 +00:00
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
2024-12-12 07:47:59 +00:00
BeforeWhile: false
IndentBraces: false
2023-05-24 17:23:42 +00:00
SplitEmptyFunction: true
2024-12-12 07:47:59 +00:00
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakAdjacentStringLiterals: true
BreakAfterAttributes: Leave
BreakAfterReturnType: None
BreakArrays: true
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Custom
BreakBeforeInlineASMColon: OnlyMultiline
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: BeforeComma
BreakFunctionDefinitionParameters: false
2024-12-12 07:47:59 +00:00
BreakInheritanceList: AfterComma
BreakStringLiterals: false
BreakTemplateDeclarations: Yes
ColumnLimit: 100
CompactNamespaces: true
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
Cpp11BracedListStyle: false
DerivePointerAlignment: false
2024-12-12 07:47:59 +00:00
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
2024-12-12 07:47:59 +00:00
IncludeBlocks: Preserve
IndentAccessModifiers: false
IndentCaseBlocks: false
2024-12-12 07:47:59 +00:00
IndentCaseLabels: true
IndentExternBlock: AfterExternBlock
IndentGotoLabels: true
IndentPPDirectives: BeforeHash
IndentRequiresClause: false
2024-12-12 07:47:59 +00:00
IndentWidth: 2
IndentWrappedFunctionNames: false
InsertBraces: false
InsertNewlineAtEOF: false
InsertTrailingCommas: None
IntegerLiteralSeparator:
Binary: 0
BinaryMinDigits: 0
Decimal: 0
DecimalMinDigits: 0
Hex: 0
HexMinDigits: 0
KeepEmptyLines:
AtEndOfFile: false
AtStartOfBlock: false
AtStartOfFile: true
LambdaBodyIndentation: Signature
LineEnding: LF
MacroBlockBegin: ''
MacroBlockEnd: ''
MainIncludeChar: Quote
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PackConstructorInitializers: CurrentLine
PenaltyBreakAssignment: 50
PenaltyBreakBeforeFirstCallParameter: 2
PenaltyBreakComment: 30
PenaltyBreakFirstLessLess: 12
PenaltyBreakOpenParenthesis: 0
PenaltyBreakScopeResolution: 500
PenaltyBreakString: 100
PenaltyBreakTemplateDeclaration: 1
PenaltyExcessCharacter: 100
PenaltyIndentedWhitespace: 0
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
PPIndentWidth: -1
QualifierAlignment: Left
ReferenceAlignment: Pointer
ReflowComments: true
RemoveBracesLLVM: false
RemoveParentheses: Leave
RemoveSemicolon: false
RequiresClausePosition: OwnLine
RequiresExpressionIndentation: OuterScope
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SkipMacroDefinitionBody: false
SortIncludes: CaseSensitive
SortUsingDeclarations: LexicographicNumeric
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
2024-12-12 07:47:59 +00:00
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeJsonColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
AfterPlacementOperator: true
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceBeforeRangeBasedForLoopColon: true
2024-12-12 07:47:59 +00:00
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInContainerLiterals: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParens: Never
SpacesInParensOptions:
ExceptDoubleParentheses: false
InCStyleCasts: false
InConditionalStatements: false
InEmptyParentheses: false
Other: false
SpacesInSquareBrackets: false
2024-12-12 07:47:59 +00:00
Standard: c++17
TabWidth: 8
UseTab: Never