100 lines
2.6 KiB
YAML
100 lines
2.6 KiB
YAML
---
|
|
BasedOnStyle: LLVM
|
|
---
|
|
Language: Cpp
|
|
Standard: c++20
|
|
ColumnLimit: 80
|
|
TabWidth: 8
|
|
IndentWidth: 2
|
|
UseTab: Never
|
|
AccessModifierOffset: -2
|
|
AlignAfterOpenBracket: AlwaysBreak
|
|
AlignConsecutiveAssignments: false
|
|
AlignConsecutiveDeclarations: false
|
|
AlignEscapedNewlines: Left
|
|
AlignOperands: false
|
|
AlignTrailingComments: true
|
|
AllowAllArgumentsOnNextLine: true
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
AllowAllConstructorInitializersOnNextLine: false
|
|
#AllowShortBlocksOnASingleLine: Never
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
AllowShortFunctionsOnASingleLine: InlineOnly
|
|
AllowShortLambdasOnASingleLine: Inline
|
|
AllowShortLoopsOnASingleLine: false
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
BreakBeforeBinaryOperators: None
|
|
BreakBeforeBraces: Custom
|
|
BraceWrapping: {
|
|
AfterCaseLabel: false,
|
|
AfterClass: false,
|
|
AfterControlStatement: false,
|
|
AfterEnum: false,
|
|
AfterFunction: false,
|
|
AfterNamespace: false,
|
|
AfterStruct: false,
|
|
AfterUnion: false,
|
|
BeforeCatch: false,
|
|
BeforeElse: false,
|
|
IndentBraces: false,
|
|
#SplitEmptyFunction: true
|
|
#SplitEmptyRecord: true
|
|
#SplitEmptyNamespace: true
|
|
}
|
|
BreakBeforeInheritanceComma: true
|
|
BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializers: BeforeComma
|
|
BreakInheritanceList: BeforeComma
|
|
BreakStringLiterals: true
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
ConstructorInitializerIndentWidth: 2
|
|
ContinuationIndentWidth: 4
|
|
Cpp11BracedListStyle: true
|
|
FixNamespaceComments: true
|
|
IncludeBlocks: Preserve
|
|
IncludeCategories:
|
|
- Regex: '^<unifex/config.hpp>$'
|
|
Priority: 1
|
|
- Regex: '^<unifex/detail/'
|
|
Priority: 3
|
|
- Regex: '^<unifex/'
|
|
Priority: 2
|
|
- Regex: '^"'
|
|
Priority: 4
|
|
- Regex: '^<experimental/'
|
|
Priority: 6
|
|
- Regex: '^<'
|
|
Priority: 5
|
|
IndentCaseLabels: true
|
|
IndentGotoLabels: false
|
|
IndentPPDirectives: AfterHash
|
|
IndentWrappedFunctionNames: false
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
MaxEmptyLinesToKeep: 1
|
|
NamespaceIndentation: None
|
|
PointerAlignment: Left
|
|
ReflowComments: true
|
|
SortIncludes: true
|
|
SortUsingDeclarations: true
|
|
SpaceAfterCStyleCast: false
|
|
SpaceAfterLogicalNot: false
|
|
SpaceAfterTemplateKeyword: true
|
|
SpaceBeforeCpp11BracedList: false
|
|
SpaceBeforeCtorInitializerColon: true
|
|
SpaceBeforeInheritanceColon: true
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
SpaceInEmptyBlock: false
|
|
SpaceInEmptyParentheses: false
|
|
SpacesBeforeTrailingComments: 2
|
|
SpacesInAngles: false
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInParentheses: false
|
|
SpacesInSquareBrackets: false
|