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