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
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -1,25 +1,39 @@
--- ---
Language: Cpp Language: Cpp
AlignAfterOpenBracket: 'true'
AlignTrailingComments: 'true'
AlwaysBreakTemplateDeclarations: 'true'
AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'false'
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: 'false'
AlwaysBreakAfterDefinitionReturnType: 'true'
BasedOnStyle: LLVM BasedOnStyle: LLVM
BreakBeforeBraces: 'Linux' AlignAfterOpenBracket: Align
BreakConstructorInitializersBeforeComma: 'true' AlignConsecutiveAssignments: true
ColumnLimit: '100' AlignConsecutiveDeclarations: true
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' AlignEscapedNewlinesLeft: false
IndentCaseLabels: 'false' AllowShortFunctionsOnASingleLine: Empty
NamespaceIndentation: 'None' AllowShortBlocksOnASingleLine: true
PenaltyReturnTypeOnItsOwnLine: '1' AllowShortIfStatementsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine : false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: AllDefinitions
AlwaysBreakTemplateDeclarations: true
BreakBeforeBraces: Linux
BreakConstructorInitializersBeforeComma: true
ColumnLimit: 0
ConstructorInitializerAllOnOneLineOrOnePerLine: false
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
SpacesBeforeTrailingComments: 1
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Cpp11BracedListStyle: false
TabWidth: 8
UseTab: ForIndentation UseTab: ForIndentation