xref: /openbmc/sdbusplus/.clang-format (revision 072da3ea)
1*072da3eaSAndrew Geissler---
2*072da3eaSAndrew GeisslerLanguage:        Cpp
3*072da3eaSAndrew Geissler# BasedOnStyle:  LLVM
4*072da3eaSAndrew GeisslerAccessModifierOffset: -2
5*072da3eaSAndrew GeisslerAlignAfterOpenBracket: Align
6*072da3eaSAndrew GeisslerAlignConsecutiveAssignments: false
7*072da3eaSAndrew GeisslerAlignConsecutiveDeclarations: false
8*072da3eaSAndrew GeisslerAlignEscapedNewlinesLeft: false
9*072da3eaSAndrew GeisslerAlignOperands:   true
10*072da3eaSAndrew GeisslerAlignTrailingComments: true
11*072da3eaSAndrew GeisslerAllowAllParametersOfDeclarationOnNextLine: true
12*072da3eaSAndrew GeisslerAllowShortBlocksOnASingleLine: false
13*072da3eaSAndrew GeisslerAllowShortCaseLabelsOnASingleLine: false
14*072da3eaSAndrew GeisslerAllowShortFunctionsOnASingleLine: None
15*072da3eaSAndrew GeisslerAllowShortIfStatementsOnASingleLine: false
16*072da3eaSAndrew GeisslerAllowShortLoopsOnASingleLine: false
17*072da3eaSAndrew GeisslerAlwaysBreakAfterDefinitionReturnType: None
18*072da3eaSAndrew GeisslerAlwaysBreakAfterReturnType: None
19*072da3eaSAndrew GeisslerAlwaysBreakBeforeMultilineStrings: false
20*072da3eaSAndrew GeisslerAlwaysBreakTemplateDeclarations: false
21*072da3eaSAndrew GeisslerBinPackArguments: true
22*072da3eaSAndrew GeisslerBinPackParameters: true
23*072da3eaSAndrew GeisslerBraceWrapping:
24*072da3eaSAndrew Geissler  AfterClass:      true
25*072da3eaSAndrew Geissler  AfterControlStatement: true
26*072da3eaSAndrew Geissler  AfterEnum:       true
27*072da3eaSAndrew Geissler  AfterFunction:   true
28*072da3eaSAndrew Geissler  AfterNamespace:  true
29*072da3eaSAndrew Geissler  AfterObjCDeclaration: true
30*072da3eaSAndrew Geissler  AfterStruct:     true
31*072da3eaSAndrew Geissler  AfterUnion:      true
32*072da3eaSAndrew Geissler  BeforeCatch:     true
33*072da3eaSAndrew Geissler  BeforeElse:      true
34*072da3eaSAndrew Geissler  IndentBraces:    false
35*072da3eaSAndrew GeisslerBreakBeforeBinaryOperators: None
36*072da3eaSAndrew GeisslerBreakBeforeBraces: Custom
37*072da3eaSAndrew GeisslerBreakBeforeTernaryOperators: true
38*072da3eaSAndrew GeisslerBreakConstructorInitializers: AfterColon
39*072da3eaSAndrew GeisslerColumnLimit:     80
40*072da3eaSAndrew GeisslerCommentPragmas:  '^ IWYU pragma:'
41*072da3eaSAndrew GeisslerConstructorInitializerAllOnOneLineOrOnePerLine: false
42*072da3eaSAndrew GeisslerConstructorInitializerIndentWidth: 4
43*072da3eaSAndrew GeisslerContinuationIndentWidth: 4
44*072da3eaSAndrew GeisslerCpp11BracedListStyle: true
45*072da3eaSAndrew GeisslerDerivePointerAlignment: true
46*072da3eaSAndrew GeisslerPointerAlignment: Left
47*072da3eaSAndrew GeisslerDisableFormat:   false
48*072da3eaSAndrew GeisslerExperimentalAutoDetectBinPacking: false
49*072da3eaSAndrew GeisslerFixNamespaceComments: true
50*072da3eaSAndrew GeisslerForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
51*072da3eaSAndrew GeisslerIndentCaseLabels: true
52*072da3eaSAndrew GeisslerIndentWidth:     4
53*072da3eaSAndrew GeisslerIndentWrappedFunctionNames: false
54*072da3eaSAndrew GeisslerKeepEmptyLinesAtTheStartOfBlocks: true
55*072da3eaSAndrew GeisslerMacroBlockBegin: ''
56*072da3eaSAndrew GeisslerMacroBlockEnd:   ''
57*072da3eaSAndrew GeisslerMaxEmptyLinesToKeep: 1
58*072da3eaSAndrew GeisslerNamespaceIndentation: None
59*072da3eaSAndrew GeisslerObjCBlockIndentWidth: 2
60*072da3eaSAndrew GeisslerObjCSpaceAfterProperty: false
61*072da3eaSAndrew GeisslerObjCSpaceBeforeProtocolList: true
62*072da3eaSAndrew GeisslerPenaltyBreakBeforeFirstCallParameter: 19
63*072da3eaSAndrew GeisslerPenaltyBreakComment: 300
64*072da3eaSAndrew GeisslerPenaltyBreakFirstLessLess: 120
65*072da3eaSAndrew GeisslerPenaltyBreakString: 1000
66*072da3eaSAndrew GeisslerPenaltyExcessCharacter: 1000000
67*072da3eaSAndrew GeisslerPenaltyReturnTypeOnItsOwnLine: 60
68*072da3eaSAndrew GeisslerPointerAlignment: Right
69*072da3eaSAndrew GeisslerReflowComments:  true
70*072da3eaSAndrew GeisslerSortIncludes:    false
71*072da3eaSAndrew GeisslerSpaceAfterCStyleCast: false
72*072da3eaSAndrew GeisslerSpaceBeforeAssignmentOperators: true
73*072da3eaSAndrew GeisslerSpaceBeforeParens: ControlStatements
74*072da3eaSAndrew GeisslerSpaceInEmptyParentheses: false
75*072da3eaSAndrew GeisslerSpacesBeforeTrailingComments: 1
76*072da3eaSAndrew GeisslerSpacesInAngles:  false
77*072da3eaSAndrew GeisslerSpacesInContainerLiterals: true
78*072da3eaSAndrew GeisslerSpacesInCStyleCastParentheses: false
79*072da3eaSAndrew GeisslerSpacesInParentheses: false
80*072da3eaSAndrew GeisslerSpacesInSquareBrackets: false
81*072da3eaSAndrew GeisslerStandard:        Cpp11
82*072da3eaSAndrew GeisslerTabWidth:        4
83*072da3eaSAndrew GeisslerUseTab:          Never
84*072da3eaSAndrew Geissler...
85*072da3eaSAndrew Geissler
86