Update clang-format to match ardour-style

This commit is contained in:
Robin Gareus 2019-08-01 18:31:44 +02:00
parent 4a52a9b3b0
commit afb987d698
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1,25 +1,39 @@
--- ---
Language: Cpp Language: Cpp
AlignAfterOpenBracket: 'true' BasedOnStyle: LLVM
AlignTrailingComments: 'true' AlignAfterOpenBracket: Align
AlwaysBreakTemplateDeclarations: 'true' AlignConsecutiveAssignments: true
AllowShortBlocksOnASingleLine: 'false' AlignConsecutiveDeclarations: true
AllowShortCaseLabelsOnASingleLine: 'false' AlignEscapedNewlinesLeft: false
AllowShortFunctionsOnASingleLine: All AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: 'false' AllowShortBlocksOnASingleLine: true
AllowShortLoopsOnASingleLine: 'false' AllowShortIfStatementsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: 'true' AllowShortCaseLabelsOnASingleLine : false
BasedOnStyle: LLVM AllowShortLoopsOnASingleLine: false
BreakBeforeBraces: 'Linux' AlwaysBreakAfterReturnType: AllDefinitions
BreakConstructorInitializersBeforeComma: 'true' AlwaysBreakTemplateDeclarations: true
ColumnLimit: '100' BreakBeforeBraces: Linux
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' BreakConstructorInitializersBeforeComma: true
IndentCaseLabels: 'false' ColumnLimit: 0
NamespaceIndentation: 'None' ConstructorInitializerAllOnOneLineOrOnePerLine: false
PenaltyReturnTypeOnItsOwnLine: '1' IndentCaseLabels: true
AccessModifierOffset: -8
IndentWidth: 8
KeepEmptyLinesAtTheStartOfBlocks: false
PenaltyReturnTypeOnItsOwnLine: 1
MaxEmptyLinesToKeep: 1
ReflowComments: true
PointerAlignment: Left PointerAlignment: Left
SortIncludes: true
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: Always SpaceBeforeParens: Always
TabWidth: '2' SpaceInEmptyParentheses: false
UseTab: ForIndentation SpacesBeforeTrailingComments: 1
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Cpp11BracedListStyle: false
TabWidth: 8
UseTab: ForIndentation