Sunshine/.clang-format

118 lines
3.4 KiB
Plaintext
Raw Normal View History

2022-10-19 20:18:25 -04:00
---
2022-07-29 23:18:06 -04:00
# This file is centrally managed in https://github.com/<organization>/.github/
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
# the above-mentioned repo.
2021-05-17 21:21:57 +02:00
# Generated from CLion C/C++ Code Style settings
BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: BlockIndent
AlignConsecutiveAssignments: None
AlignEscapedNewlines: DontAlign
2021-05-17 21:21:57 +02:00
AlignOperands: Align
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Empty
2021-05-17 21:21:57 +02:00
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: None
2021-05-17 21:21:57 +02:00
AllowShortLoopsOnASingleLine: true
2023-03-27 21:45:29 -04:00
AlignTrailingComments: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
2023-03-27 21:45:29 -04:00
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: false
BinPackParameters: false
BracedInitializerIndentWidth: 2
2021-05-17 21:21:57 +02:00
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterExternBlock: true
2021-05-17 21:21:57 +02:00
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
2021-05-17 21:21:57 +02:00
AfterUnion: false
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: true
BreakArrays: true
2021-05-17 21:21:57 +02:00
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
2021-05-17 21:21:57 +02:00
BreakBeforeTernaryOperators: false
2023-03-27 21:45:29 -04:00
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
2021-05-17 21:21:57 +02:00
ColumnLimit: 0
CompactNamespaces: false
ContinuationIndentWidth: 2
Cpp11BracedListStyle: true
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: Always
ExperimentalAutoDetectBinPacking: true
FixNamespaceComments: true
IncludeBlocks: Regroup
IndentAccessModifiers: false
IndentCaseBlocks: true
2023-03-27 21:45:29 -04:00
IndentCaseLabels: true
IndentExternBlock: Indent
IndentGotoLabels: true
2023-03-27 21:45:29 -04:00
IndentPPDirectives: BeforeHash
2021-05-17 21:21:57 +02:00
IndentWidth: 2
IndentWrappedFunctionNames: true
InsertBraces: true
InsertNewlineAtEOF: true
2023-03-27 21:45:29 -04:00
KeepEmptyLinesAtTheStartOfBlocks: false
LineEnding: LF
2023-03-27 21:45:29 -04:00
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
ObjCBinPackProtocolList: Never
2023-03-27 21:45:29 -04:00
ObjCSpaceAfterProperty: true
2021-05-17 21:21:57 +02:00
ObjCSpaceBeforeProtocolList: true
PackConstructorInitializers: Never
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 1
PenaltyBreakString: 1
PenaltyBreakFirstLessLess: 0
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 100000000
2021-05-17 21:21:57 +02:00
PointerAlignment: Right
ReferenceAlignment: Pointer
ReflowComments: true
RemoveBracesLLVM: false
RemoveSemicolon: false
SeparateDefinitionBlocks: Always
SortIncludes: CaseInsensitive
SortUsingDeclarations: Lexicographic
2023-03-27 21:45:29 -04:00
SpaceAfterCStyleCast: true
2021-05-17 21:21:57 +02:00
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
2021-05-17 21:21:57 +02:00
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
2021-05-17 21:21:57 +02:00
SpaceBeforeCpp11BracedList: true
2023-03-27 21:45:29 -04:00
SpaceBeforeCtorInitializerColon: false
SpaceBeforeInheritanceColon: false
SpaceBeforeJsonColon: false
2023-03-27 21:45:29 -04:00
SpaceBeforeParens: ControlStatements
2021-05-17 21:21:57 +02:00
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
2021-05-17 21:21:57 +02:00
SpaceInEmptyParentheses: false
2023-03-27 21:45:29 -04:00
SpacesBeforeTrailingComments: 2
2022-10-19 20:18:25 -04:00
SpacesInAngles: Never
2021-05-17 21:21:57 +02:00
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInLineCommentPrefix:
Maximum: 3
Minimum: 1
2021-05-17 21:21:57 +02:00
SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: 2
UseTab: Never