xref: /openbmc/ipmi-fru-parser/.clang-format (revision c9508db8)
1*c9508db8SPatrick Venture---
2*c9508db8SPatrick VentureLanguage:        Cpp
3*c9508db8SPatrick Venture# BasedOnStyle:  LLVM
4*c9508db8SPatrick VentureAccessModifierOffset: -2
5*c9508db8SPatrick VentureAlignAfterOpenBracket: Align
6*c9508db8SPatrick VentureAlignConsecutiveAssignments: false
7*c9508db8SPatrick VentureAlignConsecutiveDeclarations: false
8*c9508db8SPatrick VentureAlignEscapedNewlinesLeft: false
9*c9508db8SPatrick VentureAlignOperands:   true
10*c9508db8SPatrick VentureAlignTrailingComments: true
11*c9508db8SPatrick VentureAllowAllParametersOfDeclarationOnNextLine: true
12*c9508db8SPatrick VentureAllowShortBlocksOnASingleLine: false
13*c9508db8SPatrick VentureAllowShortCaseLabelsOnASingleLine: false
14*c9508db8SPatrick VentureAllowShortFunctionsOnASingleLine: None
15*c9508db8SPatrick VentureAllowShortIfStatementsOnASingleLine: false
16*c9508db8SPatrick VentureAllowShortLoopsOnASingleLine: false
17*c9508db8SPatrick VentureAlwaysBreakAfterDefinitionReturnType: None
18*c9508db8SPatrick VentureAlwaysBreakAfterReturnType: None
19*c9508db8SPatrick VentureAlwaysBreakBeforeMultilineStrings: false
20*c9508db8SPatrick VentureAlwaysBreakTemplateDeclarations: true
21*c9508db8SPatrick VentureBinPackArguments: true
22*c9508db8SPatrick VentureBinPackParameters: true
23*c9508db8SPatrick VentureBraceWrapping:
24*c9508db8SPatrick Venture  AfterClass:      true
25*c9508db8SPatrick Venture  AfterControlStatement: true
26*c9508db8SPatrick Venture  AfterEnum:       true
27*c9508db8SPatrick Venture  AfterFunction:   true
28*c9508db8SPatrick Venture  AfterNamespace:  true
29*c9508db8SPatrick Venture  AfterObjCDeclaration: true
30*c9508db8SPatrick Venture  AfterStruct:     true
31*c9508db8SPatrick Venture  AfterUnion:      true
32*c9508db8SPatrick Venture  BeforeCatch:     true
33*c9508db8SPatrick Venture  BeforeElse:      true
34*c9508db8SPatrick Venture  IndentBraces:    false
35*c9508db8SPatrick VentureBreakBeforeBinaryOperators: None
36*c9508db8SPatrick VentureBreakBeforeBraces: Custom
37*c9508db8SPatrick VentureBreakBeforeTernaryOperators: true
38*c9508db8SPatrick VentureBreakConstructorInitializers: AfterColon
39*c9508db8SPatrick VentureColumnLimit:     80
40*c9508db8SPatrick VentureCommentPragmas:  '^ IWYU pragma:'
41*c9508db8SPatrick VentureConstructorInitializerAllOnOneLineOrOnePerLine: false
42*c9508db8SPatrick VentureConstructorInitializerIndentWidth: 4
43*c9508db8SPatrick VentureContinuationIndentWidth: 4
44*c9508db8SPatrick VentureCpp11BracedListStyle: true
45*c9508db8SPatrick VentureDerivePointerAlignment: false
46*c9508db8SPatrick VenturePointerAlignment: Left
47*c9508db8SPatrick VentureDisableFormat:   false
48*c9508db8SPatrick VentureExperimentalAutoDetectBinPacking: false
49*c9508db8SPatrick VentureFixNamespaceComments: true
50*c9508db8SPatrick VentureForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
51*c9508db8SPatrick VentureIncludeBlocks: Regroup
52*c9508db8SPatrick VentureIncludeCategories:
53*c9508db8SPatrick Venture  - Regex:           '^[<"](gtest|gmock)'
54*c9508db8SPatrick Venture    Priority:        5
55*c9508db8SPatrick Venture  - Regex:           '^"config.h"'
56*c9508db8SPatrick Venture    Priority:        -1
57*c9508db8SPatrick Venture  - Regex:           '^".*\.hpp"'
58*c9508db8SPatrick Venture    Priority:        1
59*c9508db8SPatrick Venture  - Regex:           '^<.*\.h>'
60*c9508db8SPatrick Venture    Priority:        2
61*c9508db8SPatrick Venture  - Regex:           '^<.*'
62*c9508db8SPatrick Venture    Priority:        3
63*c9508db8SPatrick Venture  - Regex:           '.*'
64*c9508db8SPatrick Venture    Priority:        4
65*c9508db8SPatrick VentureIndentCaseLabels: true
66*c9508db8SPatrick VentureIndentWidth:     4
67*c9508db8SPatrick VentureIndentWrappedFunctionNames: true
68*c9508db8SPatrick VentureKeepEmptyLinesAtTheStartOfBlocks: true
69*c9508db8SPatrick VentureMacroBlockBegin: ''
70*c9508db8SPatrick VentureMacroBlockEnd:   ''
71*c9508db8SPatrick VentureMaxEmptyLinesToKeep: 1
72*c9508db8SPatrick VentureNamespaceIndentation: None
73*c9508db8SPatrick VentureObjCBlockIndentWidth: 2
74*c9508db8SPatrick VentureObjCSpaceAfterProperty: false
75*c9508db8SPatrick VentureObjCSpaceBeforeProtocolList: true
76*c9508db8SPatrick VenturePenaltyBreakBeforeFirstCallParameter: 19
77*c9508db8SPatrick VenturePenaltyBreakComment: 300
78*c9508db8SPatrick VenturePenaltyBreakFirstLessLess: 120
79*c9508db8SPatrick VenturePenaltyBreakString: 1000
80*c9508db8SPatrick VenturePenaltyExcessCharacter: 1000000
81*c9508db8SPatrick VenturePenaltyReturnTypeOnItsOwnLine: 60
82*c9508db8SPatrick VentureReflowComments:  true
83*c9508db8SPatrick VentureSortIncludes:    true
84*c9508db8SPatrick VentureSortUsingDeclarations: true
85*c9508db8SPatrick VentureSpaceAfterCStyleCast: false
86*c9508db8SPatrick VentureSpaceBeforeAssignmentOperators: true
87*c9508db8SPatrick VentureSpaceBeforeParens: ControlStatements
88*c9508db8SPatrick VentureSpaceInEmptyParentheses: false
89*c9508db8SPatrick VentureSpacesBeforeTrailingComments: 1
90*c9508db8SPatrick VentureSpacesInAngles:  false
91*c9508db8SPatrick VentureSpacesInContainerLiterals: true
92*c9508db8SPatrick VentureSpacesInCStyleCastParentheses: false
93*c9508db8SPatrick VentureSpacesInParentheses: false
94*c9508db8SPatrick VentureSpacesInSquareBrackets: false
95*c9508db8SPatrick VentureStandard:        Cpp11
96*c9508db8SPatrick VentureTabWidth:        4
97*c9508db8SPatrick VentureUseTab:          Never
98*c9508db8SPatrick Venture...
99*c9508db8SPatrick Venture
100