Update git submodules
[LibreOffice.git] / .clang-format
blobeff3ab61211269a8a7abf3da7eea06c6f21c72a6
1 AccessModifierOffset: -4
2 ConstructorInitializerIndentWidth: 4
3 AlignEscapedNewlinesLeft: false
4 AlignTrailingComments: false
5 AllowAllParametersOfDeclarationOnNextLine: true
6 AllowShortIfStatementsOnASingleLine: false
7 AllowShortLoopsOnASingleLine: false
8 AlwaysBreakTemplateDeclarations: false
9 AlwaysBreakBeforeMultilineStrings: false
10 BreakBeforeBinaryOperators: true
11 BreakBeforeTernaryOperators: true
12 BreakConstructorInitializersBeforeComma: true
13 BinPackParameters: true
14 ColumnLimit:     100
15 ConstructorInitializerAllOnOneLineOrOnePerLine: false
16 DerivePointerBinding: false
17 ExperimentalAutoDetectBinPacking: false
18 IndentCaseLabels: true
19 KeepEmptyLinesAtTheStartOfBlocks: false
20 MaxEmptyLinesToKeep: 1
21 NamespaceIndentation: None
22 FixNamespaceComments: false
23 ObjCSpaceBeforeProtocolList: true
24 PenaltyBreakBeforeFirstCallParameter: 19
25 PenaltyBreakComment: 60
26 PenaltyBreakString: 1000
27 PenaltyBreakFirstLessLess: 120
28 PenaltyExcessCharacter: 1000000
29 PenaltyReturnTypeOnItsOwnLine: 60
30 PointerBindsToType: true
31 ReflowComments: false
32 SpacesBeforeTrailingComments: 1
33 Cpp11BracedListStyle: false
34 Standard:        Cpp11
35 IndentWidth:     4
36 TabWidth:        8
37 UseTab:          Never
38 BreakBeforeBraces: Allman
39 IndentFunctionDeclarationAfterType: false
40 SpacesInParentheses: false
41 SpacesInAngles:  false
42 SpaceInEmptyParentheses: false
43 SpacesInCStyleCastParentheses: false
44 SpaceAfterControlStatementKeyword: true
45 SpaceBeforeAssignmentOperators: true
46 ContinuationIndentWidth: 4
47 SortIncludes: false
48 SortUsingDeclarations: false
49 # clang-format 8:
50 #  StatementMacros: [SAL_WNODEPRECATED_DECLARATIONS_POP, SAL_WNODEPRECATED_DECLARATIONS_PUSH]