64 lines
1.6 KiB
YAML
64 lines
1.6 KiB
YAML
---
|
|
Language: Cpp
|
|
BasedOnStyle: WebKit
|
|
AlignAfterOpenBracket: true
|
|
AlignConsecutiveAssignments: false
|
|
AlignConsecutiveDeclarations: false
|
|
AlignConsecutiveMacros: true
|
|
AlignOperands: Align
|
|
AlignTrailingComments: false
|
|
AllowShortBlocksOnASingleLine: Empty
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
AllowShortIfStatementsOnASingleLine: Always
|
|
AllowShortLoopsOnASingleLine: true
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
BraceWrapping:
|
|
AfterCaseLabel: false
|
|
AfterClass: false
|
|
AfterControlStatement: false
|
|
AfterEnum: false
|
|
AfterFunction: false
|
|
AfterNamespace: false
|
|
AfterStruct: false
|
|
AfterUnion: false
|
|
AfterExternBlock: false
|
|
BeforeCatch: false
|
|
BeforeElse: false
|
|
BeforeLambdaBody: false
|
|
BeforeWhile: false
|
|
SplitEmptyFunction: false
|
|
SplitEmptyRecord: false
|
|
SplitEmptyNamespace: false
|
|
BreakBeforeBraces: Custom
|
|
BreakConstructorInitializers: AfterColon
|
|
BreakConstructorInitializersBeforeComma: false
|
|
ColumnLimit: 120
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
Cpp11BracedListStyle: true
|
|
IncludeCategories:
|
|
- Regex: '^<.*'
|
|
Priority: 1
|
|
- Regex: '^".*'
|
|
Priority: 2
|
|
- Regex: '.*'
|
|
Priority: 3
|
|
IncludeIsMainRegex: '([-_](test|unittest))?$'
|
|
InsertNewlineAtEOF: true
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
MacroBlockBegin: ''
|
|
MacroBlockEnd: ''
|
|
MaxEmptyLinesToKeep: 2
|
|
NamespaceIndentation: All
|
|
PenaltyBreakAssignment: 0
|
|
PenaltyBreakBeforeFirstCallParameter: 0
|
|
ReferenceAlignment: Right
|
|
#ReflowComments: false
|
|
SortUsingDeclarations: Lexicographic
|
|
SpaceInEmptyParentheses: false
|
|
SpacesInAngles: Never
|
|
SpacesInConditionalStatement: false
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInParentheses: false
|
|
TabWidth: 4
|
|
|