56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
---
|
|
Language: Cpp
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
|
|
AllowShortLoopsOnASingleLine: true
|
|
AlwaysBreakAfterReturnType: None
|
|
BreakBeforeBraces: Custom
|
|
BraceWrapping:
|
|
AfterCaseLabel: true
|
|
AfterControlStatement: Always
|
|
AfterEnum: true
|
|
AfterFunction: true
|
|
AfterStruct: true
|
|
AfterUnion: true
|
|
BeforeElse: true
|
|
BeforeWhile: false
|
|
IndentBraces: false
|
|
SplitEmptyFunction: false
|
|
# BreakBeforeBraces: Allman
|
|
BreakStringLiterals: false
|
|
ColumnLimit: 0
|
|
ContinuationIndentWidth: 2
|
|
IndentCaseBlocks: false
|
|
IndentCaseLabels: true
|
|
PointerAlignment: Left
|
|
|
|
# Indent
|
|
IndentWidth: 4
|
|
TabWidth: 4
|
|
UseTab: ForIndentation
|
|
|
|
# Spaces
|
|
SpaceAfterCStyleCast: true
|
|
SpaceAfterLogicalNot: false
|
|
SpaceAroundPointerQualifiers: Default
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeCaseColon: false
|
|
SpaceBeforeParens: Custom
|
|
SpaceBeforeParensOptions:
|
|
AfterControlStatements: false
|
|
AfterFunctionDeclarationName: false
|
|
AfterFunctionDefinitionName: false
|
|
BeforeNonEmptyParentheses: false
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
SpaceBeforeSquareBrackets: false
|
|
SpaceInEmptyBlock: false
|
|
SpaceInEmptyParentheses: false
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInConditionalStatement: false
|
|
SpacesInContainerLiterals: false
|
|
SpacesInParentheses: false
|
|
SpacesInSquareBrackets: false
|
|
|
|
# Preprocessor
|
|
SortIncludes: Never
|