xref: /openbmc/boost-dbus/.clang-format (revision a8b4eac4)
1---
2BasedOnStyle:  Google
3AccessModifierOffset: -1
4AlignAfterOpenBracket: Align
5AlignConsecutiveAssignments: false
6AlignConsecutiveDeclarations: false
7AlignEscapedNewlinesLeft: true
8AlignOperands:   true
9AlignTrailingComments: true
10AllowAllParametersOfDeclarationOnNextLine: true
11AllowShortBlocksOnASingleLine: false
12AllowShortCaseLabelsOnASingleLine: false
13AllowShortFunctionsOnASingleLine: All
14AllowShortIfStatementsOnASingleLine: true
15AllowShortLoopsOnASingleLine: true
16AlwaysBreakAfterDefinitionReturnType: None
17AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: true
19AlwaysBreakTemplateDeclarations: true
20BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
23  AfterClass:      false
24  AfterControlStatement: false
25  AfterEnum:       false
26  AfterFunction:   false
27  AfterNamespace:  false
28  AfterObjCDeclaration: false
29  AfterStruct:     false
30  AfterUnion:      false
31  BeforeCatch:     false
32  BeforeElse:      false
33  IndentBraces:    false
34BreakBeforeBinaryOperators: None
35BreakBeforeBraces: Attach
36BreakBeforeTernaryOperators: true
37BreakConstructorInitializersBeforeComma: false
38ColumnLimit:     80
39CommentPragmas:  '^ IWYU pragma:'
40ConstructorInitializerAllOnOneLineOrOnePerLine: true
41ConstructorInitializerIndentWidth: 4
42ContinuationIndentWidth: 4
43Cpp11BracedListStyle: true
44DerivePointerAlignment: true
45DisableFormat:   false
46ExperimentalAutoDetectBinPacking: false
47ForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
48IncludeCategories:
49  - Regex:           '^[<"](boost)'
50    Priority:        6
51  - Regex:           '^[<"](gtest|gmock)'
52    Priority:        7
53  - Regex:           '^<.*\.h>'
54    Priority:        1
55  - Regex:           '^<.*\.hpp>'
56    Priority:        2
57  - Regex:           '^<.*'
58    Priority:        3
59  - Regex:           '.*'
60    Priority:        4
61IndentCaseLabels: true
62IndentWidth:     2
63IndentWrappedFunctionNames: false
64KeepEmptyLinesAtTheStartOfBlocks: false
65MacroBlockBegin: ''
66MacroBlockEnd:   ''
67MaxEmptyLinesToKeep: 1
68NamespaceIndentation: None
69ObjCBlockIndentWidth: 2
70ObjCSpaceAfterProperty: false
71ObjCSpaceBeforeProtocolList: false
72PenaltyBreakBeforeFirstCallParameter: 1
73PenaltyBreakComment: 300
74PenaltyBreakFirstLessLess: 120
75PenaltyBreakString: 1000
76PenaltyExcessCharacter: 1000000
77PenaltyReturnTypeOnItsOwnLine: 200
78PointerAlignment: Left
79ReflowComments:  true
80SortIncludes:    true
81SpaceAfterCStyleCast: false
82SpaceBeforeAssignmentOperators: true
83SpaceBeforeParens: ControlStatements
84SpaceInEmptyParentheses: false
85SpacesBeforeTrailingComments: 2
86SpacesInAngles:  false
87SpacesInContainerLiterals: true
88SpacesInCStyleCastParentheses: false
89SpacesInParentheses: false
90SpacesInSquareBrackets: false
91Standard:        Auto
92TabWidth:        8
93UseTab:          Never
94...
95
96