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