xref: /openbmc/phosphor-snmp/.clang-format (revision aaf87dee)
1*aaf87deeSRatan Gupta---
2*aaf87deeSRatan GuptaLanguage:        Cpp
3*aaf87deeSRatan Gupta# BasedOnStyle:  LLVM
4*aaf87deeSRatan GuptaAccessModifierOffset: -2
5*aaf87deeSRatan GuptaAlignAfterOpenBracket: Align
6*aaf87deeSRatan GuptaAlignConsecutiveAssignments: false
7*aaf87deeSRatan GuptaAlignConsecutiveDeclarations: false
8*aaf87deeSRatan GuptaAlignEscapedNewlinesLeft: false
9*aaf87deeSRatan GuptaAlignOperands:   true
10*aaf87deeSRatan GuptaAlignTrailingComments: true
11*aaf87deeSRatan GuptaAllowAllParametersOfDeclarationOnNextLine: true
12*aaf87deeSRatan GuptaAllowShortBlocksOnASingleLine: false
13*aaf87deeSRatan GuptaAllowShortCaseLabelsOnASingleLine: false
14*aaf87deeSRatan GuptaAllowShortFunctionsOnASingleLine: None
15*aaf87deeSRatan GuptaAllowShortIfStatementsOnASingleLine: false
16*aaf87deeSRatan GuptaAllowShortLoopsOnASingleLine: false
17*aaf87deeSRatan GuptaAlwaysBreakAfterDefinitionReturnType: None
18*aaf87deeSRatan GuptaAlwaysBreakAfterReturnType: None
19*aaf87deeSRatan GuptaAlwaysBreakBeforeMultilineStrings: false
20*aaf87deeSRatan GuptaAlwaysBreakTemplateDeclarations: false
21*aaf87deeSRatan GuptaBinPackArguments: true
22*aaf87deeSRatan GuptaBinPackParameters: true
23*aaf87deeSRatan GuptaBraceWrapping:
24*aaf87deeSRatan Gupta  AfterClass:      true
25*aaf87deeSRatan Gupta  AfterControlStatement: true
26*aaf87deeSRatan Gupta  AfterEnum:       true
27*aaf87deeSRatan Gupta  AfterFunction:   true
28*aaf87deeSRatan Gupta  AfterNamespace:  true
29*aaf87deeSRatan Gupta  AfterObjCDeclaration: true
30*aaf87deeSRatan Gupta  AfterStruct:     true
31*aaf87deeSRatan Gupta  AfterUnion:      true
32*aaf87deeSRatan Gupta  BeforeCatch:     true
33*aaf87deeSRatan Gupta  BeforeElse:      true
34*aaf87deeSRatan Gupta  IndentBraces:    false
35*aaf87deeSRatan GuptaBreakBeforeBinaryOperators: None
36*aaf87deeSRatan GuptaBreakBeforeBraces: Custom
37*aaf87deeSRatan GuptaBreakBeforeTernaryOperators: true
38*aaf87deeSRatan GuptaBreakConstructorInitializers: AfterColon
39*aaf87deeSRatan GuptaColumnLimit:     80
40*aaf87deeSRatan GuptaCommentPragmas:  '^ IWYU pragma:'
41*aaf87deeSRatan GuptaConstructorInitializerAllOnOneLineOrOnePerLine: false
42*aaf87deeSRatan GuptaConstructorInitializerIndentWidth: 4
43*aaf87deeSRatan GuptaContinuationIndentWidth: 4
44*aaf87deeSRatan GuptaCpp11BracedListStyle: true
45*aaf87deeSRatan GuptaDerivePointerAlignment: true
46*aaf87deeSRatan GuptaPointerAlignment: Left
47*aaf87deeSRatan GuptaDisableFormat:   false
48*aaf87deeSRatan GuptaExperimentalAutoDetectBinPacking: false
49*aaf87deeSRatan GuptaFixNamespaceComments: true
50*aaf87deeSRatan GuptaForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
51*aaf87deeSRatan GuptaIndentCaseLabels: true
52*aaf87deeSRatan GuptaIndentWidth:     4
53*aaf87deeSRatan GuptaIndentWrappedFunctionNames: true
54*aaf87deeSRatan GuptaKeepEmptyLinesAtTheStartOfBlocks: true
55*aaf87deeSRatan GuptaMacroBlockBegin: ''
56*aaf87deeSRatan GuptaMacroBlockEnd:   ''
57*aaf87deeSRatan GuptaMaxEmptyLinesToKeep: 1
58*aaf87deeSRatan GuptaNamespaceIndentation: None
59*aaf87deeSRatan GuptaObjCBlockIndentWidth: 2
60*aaf87deeSRatan GuptaObjCSpaceAfterProperty: false
61*aaf87deeSRatan GuptaObjCSpaceBeforeProtocolList: true
62*aaf87deeSRatan GuptaPenaltyBreakBeforeFirstCallParameter: 19
63*aaf87deeSRatan GuptaPenaltyBreakComment: 300
64*aaf87deeSRatan GuptaPenaltyBreakFirstLessLess: 120
65*aaf87deeSRatan GuptaPenaltyBreakString: 1000
66*aaf87deeSRatan GuptaPenaltyExcessCharacter: 1000000
67*aaf87deeSRatan GuptaPenaltyReturnTypeOnItsOwnLine: 60
68*aaf87deeSRatan GuptaPointerAlignment: Right
69*aaf87deeSRatan GuptaReflowComments:  true
70*aaf87deeSRatan GuptaSortIncludes:    false
71*aaf87deeSRatan GuptaSpaceAfterCStyleCast: false
72*aaf87deeSRatan GuptaSpaceBeforeAssignmentOperators: true
73*aaf87deeSRatan GuptaSpaceBeforeParens: ControlStatements
74*aaf87deeSRatan GuptaSpaceInEmptyParentheses: false
75*aaf87deeSRatan GuptaSpacesBeforeTrailingComments: 1
76*aaf87deeSRatan GuptaSpacesInAngles:  false
77*aaf87deeSRatan GuptaSpacesInContainerLiterals: true
78*aaf87deeSRatan GuptaSpacesInCStyleCastParentheses: false
79*aaf87deeSRatan GuptaSpacesInParentheses: false
80*aaf87deeSRatan GuptaSpacesInSquareBrackets: false
81*aaf87deeSRatan GuptaStandard:        Cpp11
82*aaf87deeSRatan GuptaTabWidth:        4
83*aaf87deeSRatan GuptaUseTab:          Never
84*aaf87deeSRatan Gupta...
85*aaf87deeSRatan Gupta
86