workstation/roles/home-cli/files/clang-format

123 lines
3.4 KiB
Text
Raw Normal View History

2021-09-25 14:20:50 +00:00
---
2024-09-18 11:30:54 +00:00
BasedOnStyle: InheritParentConfig
2023-05-19 07:02:48 +00:00
2023-05-26 21:58:55 +00:00
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignArrayOfStructures: None
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: None
AlignConsecutiveDeclarations: None
AlignConsecutiveMacros: None
AlignEscapedNewlines: DontAlign
AlignOperands: DontAlign
2024-09-18 11:30:54 +00:00
AlignTrailingComments: false
2023-05-26 21:58:55 +00:00
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
2024-09-17 21:13:47 +00:00
AllowShortBlocksOnASingleLine: Empty
2023-05-26 21:58:55 +00:00
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
2024-09-18 11:30:54 +00:00
AllowShortFunctionsOnASingleLine: Empty
2023-05-26 21:58:55 +00:00
AllowShortIfStatementsOnASingleLine: Never
2024-09-12 19:58:03 +00:00
AllowShortLambdasOnASingleLine: Inline
2023-05-26 21:58:55 +00:00
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
2024-09-18 11:30:54 +00:00
AlwaysBreakBeforeMultilineStrings: true
2023-05-26 21:58:55 +00:00
AlwaysBreakTemplateDeclarations: Yes
2024-09-18 11:30:54 +00:00
BinPackArguments: false
BinPackParameters: false
2023-05-26 21:58:55 +00:00
BitFieldColonSpacing: Both
2024-09-18 11:30:54 +00:00
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterExternBlock: false
AfterFunction: true
AfterNamespace: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyNamespace: false
SplitEmptyRecord: false
2023-05-26 21:58:55 +00:00
BreakBeforeBinaryOperators: None
2024-09-12 19:24:11 +00:00
BreakBeforeBraces: Custom
2024-09-18 11:30:54 +00:00
BreakBeforeConceptDeclarations: false
2023-05-26 21:58:55 +00:00
BreakBeforeTernaryOperators: false
2024-09-18 11:30:54 +00:00
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
BreakStringLiterals: false
2023-05-26 21:58:55 +00:00
ColumnLimit: 100
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
2023-05-18 22:13:03 +00:00
ContinuationIndentWidth: 2
2023-05-26 21:58:55 +00:00
Cpp11BracedListStyle: true
2024-09-18 11:30:54 +00:00
DeriveLineEnding: false
DerivePointerAlignment: false
2023-05-26 21:58:55 +00:00
EmptyLineAfterAccessModifier: Never
2024-09-18 11:30:54 +00:00
EmptyLineBeforeAccessModifier: Always
FixNamespaceComments: false
2023-06-02 16:20:18 +00:00
IncludeBlocks: Regroup
2023-05-26 21:58:55 +00:00
IndentAccessModifiers: false
IndentCaseBlocks: false
IndentCaseLabels: false
2024-09-18 11:30:54 +00:00
IndentExternBlock: Indent
IndentGotoLabels: false
2023-05-26 21:58:55 +00:00
IndentPPDirectives: None
IndentRequires: false
IndentWidth: 4
IndentWrappedFunctionNames: false
2024-09-18 11:30:54 +00:00
KeepEmptyLinesAtTheStartOfBlocks: false
2023-05-26 21:58:55 +00:00
LambdaBodyIndentation: Signature
MaxEmptyLinesToKeep: 1
2024-09-18 11:30:54 +00:00
NamespaceIndentation: All
PackConstructorInitializers: Never
2023-05-26 21:58:55 +00:00
PointerAlignment: Left
2024-09-18 11:30:54 +00:00
QualifierAlignment: Left
ReferenceAlignment: Left
ReflowComments: false
2023-05-26 21:58:55 +00:00
RemoveBracesLLVM: false
2024-09-18 11:30:54 +00:00
SeparateDefinitionBlocks: Always
2023-05-26 21:58:55 +00:00
ShortNamespaceLines: 1
SortIncludes: CaseSensitive
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
2024-09-18 11:30:54 +00:00
SpaceAfterTemplateKeyword: false
SpaceAroundPointerQualifiers: Before
2023-05-26 21:58:55 +00:00
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
2024-09-18 11:30:54 +00:00
SpaceBeforeParens: Custom
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: false
AfterFunctionDeclarationName: false
AfterFunctionDefinitionName: false
AfterIfMacros: false
AfterOverloadedOperator: false
BeforeNonEmptyParentheses: false
2023-05-26 21:58:55 +00:00
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
2023-05-26 22:01:29 +00:00
SpacesBeforeTrailingComments: 2
2023-05-26 21:58:55 +00:00
SpacesInAngles: Never
SpacesInCStyleCastParentheses: false
SpacesInConditionalStatement: false
2024-09-18 11:30:54 +00:00
SpacesInContainerLiterals: false
SpacesInLineCommentPrefix:
Minimum: 1
2023-05-26 21:58:55 +00:00
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Latest
TabWidth: 8
UseTab: Never
2024-09-18 11:30:54 +00:00
...