geode/.clang-format

143 lines
3.3 KiB
Text
Raw Permalink Normal View History

2022-10-30 14:24:06 -04:00
---
IndentWidth: 4
AlignAfterOpenBracket: BlockIndent
AlignEscapedNewlines: Left
2022-12-03 07:24:31 -05:00
AlignConsecutiveAssignments: false
2022-10-30 14:24:06 -04:00
AlignOperands: DontAlign
AlignTrailingComments: false
AllowAllArgumentsOnNextLine: true
2022-10-30 14:56:36 -04:00
AllowAllParametersOfDeclarationOnNextLine: false
2022-10-30 14:24:06 -04:00
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Empty
AllowShortLambdasOnASingleLine: Empty
2022-10-30 14:56:36 -04:00
AllowShortCaseLabelsOnASingleLine: true
2022-10-30 14:24:06 -04:00
AllowShortEnumsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
2022-12-03 07:24:31 -05:00
BinPackArguments: false
2022-10-30 14:24:06 -04:00
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
BreakBeforeConceptDeclarations: true
2022-12-03 07:24:31 -05:00
BreakBeforeTernaryOperators: false
2022-10-30 14:24:06 -04:00
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
BreakStringLiterals: true
ColumnLimit: 100
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
2022-12-03 07:24:31 -05:00
Cpp11BracedListStyle: true
2022-10-30 14:24:06 -04:00
DeriveLineEnding: false
UseCRLF: false
UseTab: Never
PointerAlignment: Left
ReferenceAlignment: Pointer
EmptyLineBeforeAccessModifier: Always
FixNamespaceComments: false
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^".*"'
Priority: 1
- Regex: '^<.*>'
Priority: 2
IndentAccessModifiers: false
AccessModifierOffset: -4
IndentCaseBlocks: false
2022-10-30 14:56:36 -04:00
IndentCaseLabels: true
2022-10-30 14:24:06 -04:00
IndentExternBlock: Indent
IndentGotoLabels: true
IndentPPDirectives: BeforeHash
IndentRequiresClause: true
2022-10-30 14:56:36 -04:00
IndentWrappedFunctionNames: false
2022-10-30 14:24:06 -04:00
# InsertBraces: true
InsertTrailingCommas: None
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
LambdaBodyIndentation: Signature
NamespaceIndentation: All
PPIndentWidth: -1
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakOpenParenthesis: 0
2022-10-30 14:24:06 -04:00
PenaltyBreakTemplateDeclaration: 10
2022-12-03 07:24:31 -05:00
PenaltyExcessCharacter: 10
2022-10-30 14:56:36 -04:00
PenaltyReturnTypeOnItsOwnLine: 1000000
2022-10-30 14:24:06 -04:00
PenaltyIndentedWhitespace: 0
QualifierAlignment: Right
RequiresClausePosition: OwnLine
2022-10-30 14:24:06 -04:00
ReflowComments: true
SeparateDefinitionBlocks: Always
SortIncludes: CaseSensitive
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
2022-12-03 07:24:31 -05:00
SpaceBeforeCpp11BracedList: false
2022-10-30 14:24:06 -04:00
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInCStyleCastParentheses: false
SpacesInConditionalStatement: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: c++20