xref: /openbmc/fb-ipmi-oem/.clang-format (revision e7d23d0e)
1*e7d23d0eSVijay Khemka---
2*e7d23d0eSVijay KhemkaLanguage:        Cpp
3*e7d23d0eSVijay Khemka# BasedOnStyle:  LLVM
4*e7d23d0eSVijay KhemkaAccessModifierOffset: -2
5*e7d23d0eSVijay KhemkaAlignAfterOpenBracket: Align
6*e7d23d0eSVijay KhemkaAlignConsecutiveAssignments: false
7*e7d23d0eSVijay KhemkaAlignConsecutiveDeclarations: false
8*e7d23d0eSVijay KhemkaAlignEscapedNewlinesLeft: false
9*e7d23d0eSVijay KhemkaAlignOperands:   true
10*e7d23d0eSVijay KhemkaAlignTrailingComments: true
11*e7d23d0eSVijay KhemkaAllowAllParametersOfDeclarationOnNextLine: true
12*e7d23d0eSVijay KhemkaAllowShortBlocksOnASingleLine: false
13*e7d23d0eSVijay KhemkaAllowShortCaseLabelsOnASingleLine: false
14*e7d23d0eSVijay KhemkaAllowShortFunctionsOnASingleLine: None
15*e7d23d0eSVijay KhemkaAllowShortIfStatementsOnASingleLine: false
16*e7d23d0eSVijay KhemkaAllowShortLoopsOnASingleLine: false
17*e7d23d0eSVijay KhemkaAlwaysBreakAfterDefinitionReturnType: None
18*e7d23d0eSVijay KhemkaAlwaysBreakAfterReturnType: None
19*e7d23d0eSVijay KhemkaAlwaysBreakBeforeMultilineStrings: false
20*e7d23d0eSVijay KhemkaAlwaysBreakTemplateDeclarations: false
21*e7d23d0eSVijay KhemkaBinPackArguments: true
22*e7d23d0eSVijay KhemkaBinPackParameters: true
23*e7d23d0eSVijay KhemkaBraceWrapping:
24*e7d23d0eSVijay Khemka  AfterClass:      true
25*e7d23d0eSVijay Khemka  AfterControlStatement: true
26*e7d23d0eSVijay Khemka  AfterEnum:       true
27*e7d23d0eSVijay Khemka  AfterFunction:   true
28*e7d23d0eSVijay Khemka  AfterNamespace:  true
29*e7d23d0eSVijay Khemka  AfterObjCDeclaration: true
30*e7d23d0eSVijay Khemka  AfterStruct:     true
31*e7d23d0eSVijay Khemka  AfterUnion:      true
32*e7d23d0eSVijay Khemka  BeforeCatch:     true
33*e7d23d0eSVijay Khemka  BeforeElse:      true
34*e7d23d0eSVijay Khemka  IndentBraces:    false
35*e7d23d0eSVijay KhemkaBreakBeforeBinaryOperators: None
36*e7d23d0eSVijay KhemkaBreakBeforeBraces: Custom
37*e7d23d0eSVijay KhemkaBreakBeforeTernaryOperators: true
38*e7d23d0eSVijay KhemkaBreakConstructorInitializers: AfterColon
39*e7d23d0eSVijay KhemkaColumnLimit:     80
40*e7d23d0eSVijay KhemkaCommentPragmas:  '^ IWYU pragma:'
41*e7d23d0eSVijay KhemkaConstructorInitializerAllOnOneLineOrOnePerLine: false
42*e7d23d0eSVijay KhemkaConstructorInitializerIndentWidth: 4
43*e7d23d0eSVijay KhemkaContinuationIndentWidth: 4
44*e7d23d0eSVijay KhemkaCpp11BracedListStyle: true
45*e7d23d0eSVijay KhemkaDerivePointerAlignment: true
46*e7d23d0eSVijay KhemkaPointerAlignment: Left
47*e7d23d0eSVijay KhemkaDisableFormat:   false
48*e7d23d0eSVijay KhemkaExperimentalAutoDetectBinPacking: false
49*e7d23d0eSVijay KhemkaFixNamespaceComments: true
50*e7d23d0eSVijay KhemkaForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
51*e7d23d0eSVijay KhemkaIndentCaseLabels: true
52*e7d23d0eSVijay KhemkaIndentWidth:     4
53*e7d23d0eSVijay KhemkaIndentWrappedFunctionNames: true
54*e7d23d0eSVijay KhemkaKeepEmptyLinesAtTheStartOfBlocks: true
55*e7d23d0eSVijay KhemkaMacroBlockBegin: ''
56*e7d23d0eSVijay KhemkaMacroBlockEnd:   ''
57*e7d23d0eSVijay KhemkaMaxEmptyLinesToKeep: 1
58*e7d23d0eSVijay KhemkaNamespaceIndentation: None
59*e7d23d0eSVijay KhemkaObjCBlockIndentWidth: 2
60*e7d23d0eSVijay KhemkaObjCSpaceAfterProperty: false
61*e7d23d0eSVijay KhemkaObjCSpaceBeforeProtocolList: true
62*e7d23d0eSVijay KhemkaPenaltyBreakBeforeFirstCallParameter: 19
63*e7d23d0eSVijay KhemkaPenaltyBreakComment: 300
64*e7d23d0eSVijay KhemkaPenaltyBreakFirstLessLess: 120
65*e7d23d0eSVijay KhemkaPenaltyBreakString: 1000
66*e7d23d0eSVijay KhemkaPenaltyExcessCharacter: 1000000
67*e7d23d0eSVijay KhemkaPenaltyReturnTypeOnItsOwnLine: 60
68*e7d23d0eSVijay KhemkaPointerAlignment: Right
69*e7d23d0eSVijay KhemkaReflowComments:  true
70*e7d23d0eSVijay KhemkaSortIncludes:    false
71*e7d23d0eSVijay KhemkaSpaceAfterCStyleCast: false
72*e7d23d0eSVijay KhemkaSpaceBeforeAssignmentOperators: true
73*e7d23d0eSVijay KhemkaSpaceBeforeParens: ControlStatements
74*e7d23d0eSVijay KhemkaSpaceInEmptyParentheses: false
75*e7d23d0eSVijay KhemkaSpacesBeforeTrailingComments: 1
76*e7d23d0eSVijay KhemkaSpacesInAngles:  false
77*e7d23d0eSVijay KhemkaSpacesInContainerLiterals: true
78*e7d23d0eSVijay KhemkaSpacesInCStyleCastParentheses: false
79*e7d23d0eSVijay KhemkaSpacesInParentheses: false
80*e7d23d0eSVijay KhemkaSpacesInSquareBrackets: false
81*e7d23d0eSVijay KhemkaStandard:        Cpp11
82*e7d23d0eSVijay KhemkaTabWidth:        4
83*e7d23d0eSVijay KhemkaUseTab:          Never
84*e7d23d0eSVijay Khemka...
85*e7d23d0eSVijay Khemka
86