75 lines
2.2 KiB
YAML
75 lines
2.2 KiB
YAML
---
|
|
# kak: filetype=yaml
|
|
Language: Cpp
|
|
BasedOnStyle: LLVM
|
|
AlignArrayOfStructures: Left
|
|
AlignConsecutiveMacros: AcrossComments
|
|
AlignConsecutiveAssignments: None
|
|
AlignConsecutiveBitFields: AcrossComments
|
|
AlignConsecutiveDeclarations: None
|
|
AllowAllArgumentsOnNextLine: false
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
AllowShortEnumsOnASingleLine: false
|
|
AllowShortFunctionsOnASingleLine: None
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
AttributeMacros:
|
|
- __capability
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
BreakBeforeBinaryOperators: NonAssignment
|
|
BreakBeforeInheritanceComma: false
|
|
BreakInheritanceList: AfterComma
|
|
ColumnLimit: 120
|
|
Cpp11BracedListStyle: false
|
|
EmptyLineBeforeAccessModifier: Always
|
|
FixNamespaceComments: true
|
|
IncludeBlocks: Regroup
|
|
IncludeCategories:
|
|
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
Priority: 2
|
|
SortPriority: 0
|
|
CaseSensitive: false
|
|
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
|
Priority: 3
|
|
SortPriority: 0
|
|
CaseSensitive: false
|
|
- Regex: '.*'
|
|
Priority: 1
|
|
SortPriority: 0
|
|
CaseSensitive: false
|
|
IncludeIsMainRegex: '(_test)?$'
|
|
IncludeIsMainSourceRegex: ''
|
|
IndentExternBlock: NoIndent
|
|
IndentWidth: 4
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
MaxEmptyLinesToKeep: 2
|
|
# PackConstructorInitializers: CurrentLine
|
|
PointerAlignment: Left
|
|
ReferenceAlignment: Right
|
|
ReflowComments: true
|
|
# SeparateDefinitionBlocks: Leave
|
|
SpaceAfterCStyleCast: true
|
|
SpaceAfterLogicalNot: false
|
|
SpaceAfterTemplateKeyword: false
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeCaseColon: false
|
|
SpaceBeforeCpp11BracedList: false
|
|
SpaceBeforeCtorInitializerColon: true
|
|
SpaceBeforeInheritanceColon: true
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceAroundPointerQualifiers: Default
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
SpaceInEmptyBlock: false
|
|
SpaceInEmptyParentheses: false
|
|
SpacesBeforeTrailingComments: 1
|
|
SpacesInAngles: Never
|
|
SpacesInConditionalStatement: false
|
|
SpacesInContainerLiterals: true
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInLineCommentPrefix:
|
|
Minimum: 1
|
|
Maximum: -1
|
|
SpacesInParentheses: false
|
|
SpacesInSquareBrackets: false
|
|
SpaceBeforeSquareBrackets: false
|
|
TabWidth: 4
|