xref: /openbmc/ibm-logging/.clang-format (revision 259e7277)
1*259e7277SMatt Spinler---
2*259e7277SMatt SpinlerLanguage:        Cpp
3*259e7277SMatt Spinler# BasedOnStyle:  LLVM
4*259e7277SMatt SpinlerAccessModifierOffset: -2
5*259e7277SMatt SpinlerAlignAfterOpenBracket: Align
6*259e7277SMatt SpinlerAlignConsecutiveAssignments: false
7*259e7277SMatt SpinlerAlignConsecutiveDeclarations: false
8*259e7277SMatt SpinlerAlignEscapedNewlinesLeft: false
9*259e7277SMatt SpinlerAlignOperands:   true
10*259e7277SMatt SpinlerAlignTrailingComments: true
11*259e7277SMatt SpinlerAllowAllParametersOfDeclarationOnNextLine: true
12*259e7277SMatt SpinlerAllowShortBlocksOnASingleLine: false
13*259e7277SMatt SpinlerAllowShortCaseLabelsOnASingleLine: false
14*259e7277SMatt SpinlerAllowShortFunctionsOnASingleLine: None
15*259e7277SMatt SpinlerAllowShortIfStatementsOnASingleLine: false
16*259e7277SMatt SpinlerAllowShortLoopsOnASingleLine: false
17*259e7277SMatt SpinlerAlwaysBreakAfterDefinitionReturnType: None
18*259e7277SMatt SpinlerAlwaysBreakAfterReturnType: None
19*259e7277SMatt SpinlerAlwaysBreakBeforeMultilineStrings: false
20*259e7277SMatt SpinlerAlwaysBreakTemplateDeclarations: false
21*259e7277SMatt SpinlerBinPackArguments: true
22*259e7277SMatt SpinlerBinPackParameters: true
23*259e7277SMatt SpinlerBraceWrapping:
24*259e7277SMatt Spinler  AfterClass:      true
25*259e7277SMatt Spinler  AfterControlStatement: true
26*259e7277SMatt Spinler  AfterEnum:       true
27*259e7277SMatt Spinler  AfterFunction:   true
28*259e7277SMatt Spinler  AfterNamespace:  true
29*259e7277SMatt Spinler  AfterObjCDeclaration: true
30*259e7277SMatt Spinler  AfterStruct:     true
31*259e7277SMatt Spinler  AfterUnion:      true
32*259e7277SMatt Spinler  BeforeCatch:     true
33*259e7277SMatt Spinler  BeforeElse:      true
34*259e7277SMatt Spinler  IndentBraces:    false
35*259e7277SMatt SpinlerBreakBeforeBinaryOperators: None
36*259e7277SMatt SpinlerBreakBeforeBraces: Custom
37*259e7277SMatt SpinlerBreakBeforeTernaryOperators: true
38*259e7277SMatt SpinlerBreakConstructorInitializers: AfterColon
39*259e7277SMatt SpinlerColumnLimit:     80
40*259e7277SMatt SpinlerCommentPragmas:  '^ IWYU pragma:'
41*259e7277SMatt SpinlerConstructorInitializerAllOnOneLineOrOnePerLine: false
42*259e7277SMatt SpinlerConstructorInitializerIndentWidth: 4
43*259e7277SMatt SpinlerContinuationIndentWidth: 4
44*259e7277SMatt SpinlerCpp11BracedListStyle: true
45*259e7277SMatt SpinlerDerivePointerAlignment: true
46*259e7277SMatt SpinlerPointerAlignment: Left
47*259e7277SMatt SpinlerDisableFormat:   false
48*259e7277SMatt SpinlerExperimentalAutoDetectBinPacking: false
49*259e7277SMatt SpinlerFixNamespaceComments: true
50*259e7277SMatt SpinlerForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
51*259e7277SMatt SpinlerIndentCaseLabels: true
52*259e7277SMatt SpinlerIndentWidth:     4
53*259e7277SMatt SpinlerIndentWrappedFunctionNames: true
54*259e7277SMatt SpinlerKeepEmptyLinesAtTheStartOfBlocks: true
55*259e7277SMatt SpinlerMacroBlockBegin: ''
56*259e7277SMatt SpinlerMacroBlockEnd:   ''
57*259e7277SMatt SpinlerMaxEmptyLinesToKeep: 1
58*259e7277SMatt SpinlerNamespaceIndentation: None
59*259e7277SMatt SpinlerObjCBlockIndentWidth: 2
60*259e7277SMatt SpinlerObjCSpaceAfterProperty: false
61*259e7277SMatt SpinlerObjCSpaceBeforeProtocolList: true
62*259e7277SMatt SpinlerPenaltyBreakBeforeFirstCallParameter: 19
63*259e7277SMatt SpinlerPenaltyBreakComment: 300
64*259e7277SMatt SpinlerPenaltyBreakFirstLessLess: 120
65*259e7277SMatt SpinlerPenaltyBreakString: 1000
66*259e7277SMatt SpinlerPenaltyExcessCharacter: 1000000
67*259e7277SMatt SpinlerPenaltyReturnTypeOnItsOwnLine: 60
68*259e7277SMatt SpinlerPointerAlignment: Right
69*259e7277SMatt SpinlerReflowComments:  true
70*259e7277SMatt SpinlerSortIncludes:    false
71*259e7277SMatt SpinlerSpaceAfterCStyleCast: false
72*259e7277SMatt SpinlerSpaceBeforeAssignmentOperators: true
73*259e7277SMatt SpinlerSpaceBeforeParens: ControlStatements
74*259e7277SMatt SpinlerSpaceInEmptyParentheses: false
75*259e7277SMatt SpinlerSpacesBeforeTrailingComments: 1
76*259e7277SMatt SpinlerSpacesInAngles:  false
77*259e7277SMatt SpinlerSpacesInContainerLiterals: true
78*259e7277SMatt SpinlerSpacesInCStyleCastParentheses: false
79*259e7277SMatt SpinlerSpacesInParentheses: false
80*259e7277SMatt SpinlerSpacesInSquareBrackets: false
81*259e7277SMatt SpinlerStandard:        Cpp11
82*259e7277SMatt SpinlerTabWidth:        4
83*259e7277SMatt SpinlerUseTab:          Never
84*259e7277SMatt Spinler...
85*259e7277SMatt Spinler
86