xref: /aoo42x/main/.clang-format (revision 7e63338a)
1 #
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13 #
14 AccessModifierOffset: -4
15 AlignEscapedNewlinesLeft: false
16 AlignTrailingComments: false
17 AllowAllParametersOfDeclarationOnNextLine: true
18 AllowShortIfStatementsOnASingleLine: false
19 AllowShortLoopsOnASingleLine: false
20 AlwaysBreakBeforeMultilineStrings: false
21 AlwaysBreakTemplateDeclarations: false
22 BinPackParameters: true
23 BreakBeforeBinaryOperators: true
24 BreakBeforeBraces: Allman
25 BreakBeforeTernaryOperators: true
26 BreakConstructorInitializersBeforeComma: true
27 ColumnLimit:     100
28 ConstructorInitializerAllOnOneLineOrOnePerLine: false
29 ConstructorInitializerIndentWidth: 4
30 ContinuationIndentWidth: 4
31 Cpp11BracedListStyle: false
32 DerivePointerBinding: false
33 ExperimentalAutoDetectBinPacking: false
34 IndentCaseLabels: true
35 IndentFunctionDeclarationAfterType: false
36 IndentWidth:     4
37 KeepEmptyLinesAtTheStartOfBlocks: false
38 MaxEmptyLinesToKeep: 1
39 NamespaceIndentation: None
40 ObjCSpaceBeforeProtocolList: true
41 PenaltyBreakBeforeFirstCallParameter: 19
42 PenaltyBreakComment: 60
43 PenaltyBreakFirstLessLess: 120
44 PenaltyBreakString: 1000
45 PenaltyExcessCharacter: 1000000
46 PenaltyReturnTypeOnItsOwnLine: 60
47 PointerBindsToType: true
48 ReflowComments: false
49 SortIncludes: false
50 SpaceAfterControlStatementKeyword: true
51 SpaceBeforeAssignmentOperators: true
52 SpaceInEmptyParentheses: false
53 SpacesBeforeTrailingComments: 1
54 SpacesInAngles:  false
55 SpacesInCStyleCastParentheses: false
56 SpacesInParentheses: false
57 Standard:        Auto
58 TabWidth:        8
59 UseTab:          Never
60