Update clang-format to match ardour-style
[ardour.git] / tools / clang-format
1 ---
2 Language: Cpp
3 BasedOnStyle:  LLVM
4 AlignAfterOpenBracket: Align
5 AlignConsecutiveAssignments: true
6 AlignConsecutiveDeclarations: true
7 AlignEscapedNewlinesLeft: false
8 AllowShortFunctionsOnASingleLine: Empty
9 AllowShortBlocksOnASingleLine: true
10 AllowShortIfStatementsOnASingleLine: false
11 AllowShortCaseLabelsOnASingleLine : false
12 AllowShortLoopsOnASingleLine: false
13 AlwaysBreakAfterReturnType: AllDefinitions
14 AlwaysBreakTemplateDeclarations: true
15 BreakBeforeBraces: Linux
16 BreakConstructorInitializersBeforeComma: true
17 ColumnLimit:     0
18 ConstructorInitializerAllOnOneLineOrOnePerLine: false
19 IndentCaseLabels: true
20 AccessModifierOffset: -8
21 IndentWidth:     8
22 KeepEmptyLinesAtTheStartOfBlocks: false
23 PenaltyReturnTypeOnItsOwnLine: 1
24 MaxEmptyLinesToKeep: 1
25 ReflowComments:  true
26 PointerAlignment: Left
27 SortIncludes:    true
28 SpaceAfterCStyleCast: false
29 SpaceBeforeAssignmentOperators: true
30 SpaceBeforeParens: Always
31 SpaceInEmptyParentheses: false
32 SpacesBeforeTrailingComments: 1
33 SpacesInContainerLiterals: true
34 SpacesInCStyleCastParentheses: false
35 SpacesInParentheses: false
36 SpacesInSquareBrackets: false
37 Cpp11BracedListStyle: false
38 TabWidth:        8
39 UseTab:          ForIndentation