13
0

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

View File

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