xref: /openbmc/phosphor-inventory-manager/.clang-format (revision 615b2a8f8cc0cffc5773cb40f7f3d74b8ea1e81f)
1*615b2a8fSBrad Bishop---
2*615b2a8fSBrad BishopLanguage:        Cpp
3*615b2a8fSBrad Bishop# BasedOnStyle:  LLVM
4*615b2a8fSBrad BishopAccessModifierOffset: -2
5*615b2a8fSBrad BishopAlignAfterOpenBracket: Align
6*615b2a8fSBrad BishopAlignConsecutiveAssignments: false
7*615b2a8fSBrad BishopAlignConsecutiveDeclarations: false
8*615b2a8fSBrad BishopAlignEscapedNewlinesLeft: false
9*615b2a8fSBrad BishopAlignOperands:   true
10*615b2a8fSBrad BishopAlignTrailingComments: true
11*615b2a8fSBrad BishopAllowAllParametersOfDeclarationOnNextLine: true
12*615b2a8fSBrad BishopAllowShortBlocksOnASingleLine: false
13*615b2a8fSBrad BishopAllowShortCaseLabelsOnASingleLine: false
14*615b2a8fSBrad BishopAllowShortFunctionsOnASingleLine: None
15*615b2a8fSBrad BishopAllowShortIfStatementsOnASingleLine: false
16*615b2a8fSBrad BishopAllowShortLoopsOnASingleLine: false
17*615b2a8fSBrad BishopAlwaysBreakAfterDefinitionReturnType: None
18*615b2a8fSBrad BishopAlwaysBreakAfterReturnType: None
19*615b2a8fSBrad BishopAlwaysBreakBeforeMultilineStrings: false
20*615b2a8fSBrad BishopAlwaysBreakTemplateDeclarations: false
21*615b2a8fSBrad BishopBinPackArguments: true
22*615b2a8fSBrad BishopBinPackParameters: true
23*615b2a8fSBrad BishopBraceWrapping:
24*615b2a8fSBrad Bishop  AfterClass:      true
25*615b2a8fSBrad Bishop  AfterControlStatement: true
26*615b2a8fSBrad Bishop  AfterEnum:       true
27*615b2a8fSBrad Bishop  AfterFunction:   true
28*615b2a8fSBrad Bishop  AfterNamespace:  true
29*615b2a8fSBrad Bishop  AfterObjCDeclaration: true
30*615b2a8fSBrad Bishop  AfterStruct:     true
31*615b2a8fSBrad Bishop  AfterUnion:      true
32*615b2a8fSBrad Bishop  BeforeCatch:     true
33*615b2a8fSBrad Bishop  BeforeElse:      true
34*615b2a8fSBrad Bishop  IndentBraces:    false
35*615b2a8fSBrad BishopBreakBeforeBinaryOperators: None
36*615b2a8fSBrad BishopBreakBeforeBraces: Custom
37*615b2a8fSBrad BishopBreakBeforeTernaryOperators: true
38*615b2a8fSBrad BishopBreakConstructorInitializers: AfterColon
39*615b2a8fSBrad BishopColumnLimit:     80
40*615b2a8fSBrad BishopCommentPragmas:  '^ IWYU pragma:'
41*615b2a8fSBrad BishopConstructorInitializerAllOnOneLineOrOnePerLine: false
42*615b2a8fSBrad BishopConstructorInitializerIndentWidth: 4
43*615b2a8fSBrad BishopContinuationIndentWidth: 4
44*615b2a8fSBrad BishopCpp11BracedListStyle: true
45*615b2a8fSBrad BishopDerivePointerAlignment: true
46*615b2a8fSBrad BishopPointerAlignment: Left
47*615b2a8fSBrad BishopDisableFormat:   false
48*615b2a8fSBrad BishopExperimentalAutoDetectBinPacking: false
49*615b2a8fSBrad BishopFixNamespaceComments: true
50*615b2a8fSBrad BishopForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
51*615b2a8fSBrad BishopIndentCaseLabels: true
52*615b2a8fSBrad BishopIndentWidth:     4
53*615b2a8fSBrad BishopIndentWrappedFunctionNames: true
54*615b2a8fSBrad BishopKeepEmptyLinesAtTheStartOfBlocks: true
55*615b2a8fSBrad BishopMacroBlockBegin: ''
56*615b2a8fSBrad BishopMacroBlockEnd:   ''
57*615b2a8fSBrad BishopMaxEmptyLinesToKeep: 1
58*615b2a8fSBrad BishopNamespaceIndentation: None
59*615b2a8fSBrad BishopObjCBlockIndentWidth: 2
60*615b2a8fSBrad BishopObjCSpaceAfterProperty: false
61*615b2a8fSBrad BishopObjCSpaceBeforeProtocolList: true
62*615b2a8fSBrad BishopPenaltyBreakBeforeFirstCallParameter: 19
63*615b2a8fSBrad BishopPenaltyBreakComment: 300
64*615b2a8fSBrad BishopPenaltyBreakFirstLessLess: 120
65*615b2a8fSBrad BishopPenaltyBreakString: 1000
66*615b2a8fSBrad BishopPenaltyExcessCharacter: 1000000
67*615b2a8fSBrad BishopPenaltyReturnTypeOnItsOwnLine: 60
68*615b2a8fSBrad BishopPointerAlignment: Right
69*615b2a8fSBrad BishopReflowComments:  true
70*615b2a8fSBrad BishopSortIncludes:    false
71*615b2a8fSBrad BishopSpaceAfterCStyleCast: false
72*615b2a8fSBrad BishopSpaceBeforeAssignmentOperators: true
73*615b2a8fSBrad BishopSpaceBeforeParens: ControlStatements
74*615b2a8fSBrad BishopSpaceInEmptyParentheses: false
75*615b2a8fSBrad BishopSpacesBeforeTrailingComments: 1
76*615b2a8fSBrad BishopSpacesInAngles:  false
77*615b2a8fSBrad BishopSpacesInContainerLiterals: true
78*615b2a8fSBrad BishopSpacesInCStyleCastParentheses: false
79*615b2a8fSBrad BishopSpacesInParentheses: false
80*615b2a8fSBrad BishopSpacesInSquareBrackets: false
81*615b2a8fSBrad BishopStandard:        Cpp11
82*615b2a8fSBrad BishopTabWidth:        4
83*615b2a8fSBrad BishopUseTab:          Never
84*615b2a8fSBrad Bishop...
85*615b2a8fSBrad Bishop
86