Sunshine/.clang-format

75 lines
2.2 KiB
Plaintext
Raw Permalink Normal View History

2022-10-20 00:18:25 +00:00
---
2022-07-30 03:18:06 +00: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 19:21:57 +00:00
# Generated from CLion C/C++ Code Style settings
BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: DontAlign
2023-03-28 01:45:29 +00:00
AlignConsecutiveAssignments: false
2021-05-17 19:21:57 +00:00
AlignOperands: Align
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Always
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
2022-10-20 00:18:25 +00:00
AllowShortIfStatementsOnASingleLine: WithoutElse
2021-05-17 19:21:57 +00:00
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: true
2023-03-28 01:45:29 +00:00
AlignTrailingComments: false
AlwaysBreakAfterReturnType: All
AlwaysBreakTemplateDeclarations: MultiLine
2021-05-17 19:21:57 +00:00
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
2021-05-17 19:21:57 +00:00
AfterUnion: false
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: true
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: false
2023-03-28 01:45:29 +00:00
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
2021-05-17 19:21:57 +00:00
ColumnLimit: 0
CompactNamespaces: false
ContinuationIndentWidth: 2
2023-03-28 01:45:29 +00:00
IndentCaseLabels: true
IndentPPDirectives: BeforeHash
2021-05-17 19:21:57 +00:00
IndentWidth: 2
2023-03-28 01:45:29 +00:00
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
ObjCSpaceAfterProperty: true
2021-05-17 19:21:57 +00:00
ObjCSpaceBeforeProtocolList: true
PointerAlignment: Right
ReflowComments: true
2023-03-28 01:45:29 +00:00
SpaceAfterCStyleCast: true
2021-05-17 19:21:57 +00:00
SpaceAfterLogicalNot: false
2023-03-28 01:45:29 +00:00
SpaceAfterTemplateKeyword: true
2021-05-17 19:21:57 +00:00
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: true
2023-03-28 01:45:29 +00:00
SpaceBeforeCtorInitializerColon: false
SpaceBeforeInheritanceColon: false
SpaceBeforeParens: ControlStatements
2021-05-17 19:21:57 +00:00
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
2023-03-28 01:45:29 +00:00
SpacesBeforeTrailingComments: 2
2022-10-20 00:18:25 +00:00
SpacesInAngles: Never
2021-05-17 19:21:57 +00:00
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: 2
Cpp11BracedListStyle: false
UseTab: Never