Tweak .clang-format

This commit is contained in:
Robin Gareus 2019-08-13 01:06:12 +02:00
parent e08ab1e30a
commit 4aedf9c3ea
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 7 additions and 2 deletions

View File

@ -10,24 +10,29 @@ AllowShortBlocksOnASingleLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine : false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: AllDefinitions
AlwaysBreakAfterReturnType: TopLevel
AlwaysBreakTemplateDeclarations: true
BreakBeforeBraces: Linux
BreakConstructorInitializersBeforeComma: true
ColumnLimit: 0
#ColumnLimit: 92
ColumnLimit: 0
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 8
IndentCaseLabels: true
AccessModifierOffset: -8
#IndentPPDirectives: AfterHash
IndentWidth: 8
KeepEmptyLinesAtTheStartOfBlocks: false
PenaltyReturnTypeOnItsOwnLine: 1
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ReflowComments: true
PointerAlignment: Left
SortIncludes: true
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: Always
#SpacesInAngles: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInContainerLiterals: true