47 lines
960 B
YAML
47 lines
960 B
YAML
---
|
|
# Base Style
|
|
BasedOnStyle: LLVM
|
|
Standard: Latest
|
|
ColumnLimit: 120
|
|
ReflowComments: true
|
|
SortIncludes: true
|
|
IncludeBlocks: Regroup
|
|
|
|
# Indentation
|
|
UseTab: Always
|
|
TabWidth: 8
|
|
IndentWidth: 8
|
|
ContinuationIndentWidth: 8
|
|
AlignAfterOpenBracket: Align
|
|
PointerAlignment: Left
|
|
|
|
# Braces
|
|
BreakBeforeBraces: Custom
|
|
BraceWrapping:
|
|
AfterFunction: false
|
|
AfterClass: false
|
|
AfterControlStatement: false
|
|
AfterNamespace: false
|
|
IndentBraces: false
|
|
|
|
# Containers & lists
|
|
SpacesInContainerLiterals: true
|
|
Cpp11BracedListStyle: false
|
|
|
|
SpaceBeforeCpp11BracedList: true
|
|
|
|
# Control statements & loops
|
|
SpaceBeforeParens: Custom
|
|
SpaceBeforeParensOptions:
|
|
AfterControlStatements: true
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
AllowShortFunctionsOnASingleLine: true
|
|
AllowShortIfStatementsOnASingleLine: true
|
|
AllowShortLoopsOnASingleLine: true
|
|
RemoveEmptyLinesInUnwrappedLines: true
|
|
SeparateDefinitionBlocks: Always
|
|
|
|
# Preprocessor
|
|
IndentPPDirectives: AfterHash
|
|
PPIndentWidth: 0
|