xref: /openbmc/libbej/.clang-format (revision 8bc8ba8e)
1*8bc8ba8eSkasunath---
2*8bc8ba8eSkasunathLanguage:        Cpp
3*8bc8ba8eSkasunath# BasedOnStyle:  LLVM
4*8bc8ba8eSkasunathAccessModifierOffset: -2
5*8bc8ba8eSkasunathAlignAfterOpenBracket: Align
6*8bc8ba8eSkasunathAlignConsecutiveAssignments: false
7*8bc8ba8eSkasunathAlignConsecutiveDeclarations: false
8*8bc8ba8eSkasunathAlignEscapedNewlines: Right
9*8bc8ba8eSkasunathAlignOperands:   true
10*8bc8ba8eSkasunathAlignTrailingComments: true
11*8bc8ba8eSkasunathAllowAllParametersOfDeclarationOnNextLine: true
12*8bc8ba8eSkasunathAllowShortBlocksOnASingleLine: false
13*8bc8ba8eSkasunathAllowShortCaseLabelsOnASingleLine: false
14*8bc8ba8eSkasunathAllowShortFunctionsOnASingleLine: None
15*8bc8ba8eSkasunathAllowShortIfStatementsOnASingleLine: false
16*8bc8ba8eSkasunathAllowShortLoopsOnASingleLine: false
17*8bc8ba8eSkasunathAlwaysBreakAfterReturnType: None
18*8bc8ba8eSkasunathAlwaysBreakBeforeMultilineStrings: false
19*8bc8ba8eSkasunathAlwaysBreakTemplateDeclarations: Yes
20*8bc8ba8eSkasunathBinPackArguments: true
21*8bc8ba8eSkasunathBinPackParameters: true
22*8bc8ba8eSkasunathBraceWrapping:
23*8bc8ba8eSkasunath  AfterCaseLabel:  true
24*8bc8ba8eSkasunath  AfterClass:      true
25*8bc8ba8eSkasunath  AfterControlStatement: true
26*8bc8ba8eSkasunath  AfterEnum:       true
27*8bc8ba8eSkasunath  AfterFunction:   true
28*8bc8ba8eSkasunath  AfterNamespace:  true
29*8bc8ba8eSkasunath  AfterObjCDeclaration: true
30*8bc8ba8eSkasunath  AfterStruct:     true
31*8bc8ba8eSkasunath  AfterUnion:      true
32*8bc8ba8eSkasunath  AfterExternBlock: true
33*8bc8ba8eSkasunath  BeforeCatch:     true
34*8bc8ba8eSkasunath  BeforeElse:      true
35*8bc8ba8eSkasunath  IndentBraces:    false
36*8bc8ba8eSkasunath  SplitEmptyFunction:   false
37*8bc8ba8eSkasunath  SplitEmptyRecord:     false
38*8bc8ba8eSkasunath  SplitEmptyNamespace:  false
39*8bc8ba8eSkasunathBreakBeforeBinaryOperators: None
40*8bc8ba8eSkasunathBreakBeforeBraces: Custom
41*8bc8ba8eSkasunathBreakBeforeTernaryOperators: true
42*8bc8ba8eSkasunathBreakConstructorInitializers: AfterColon
43*8bc8ba8eSkasunathBreakInheritanceList: AfterColon
44*8bc8ba8eSkasunathBreakStringLiterals: true
45*8bc8ba8eSkasunathColumnLimit:     80
46*8bc8ba8eSkasunathCommentPragmas:  '^ IWYU pragma:'
47*8bc8ba8eSkasunathCompactNamespaces: false
48*8bc8ba8eSkasunathConstructorInitializerAllOnOneLineOrOnePerLine: false
49*8bc8ba8eSkasunathConstructorInitializerIndentWidth: 4
50*8bc8ba8eSkasunathContinuationIndentWidth: 4
51*8bc8ba8eSkasunathCpp11BracedListStyle: true
52*8bc8ba8eSkasunathDerivePointerAlignment: false
53*8bc8ba8eSkasunathPointerAlignment: Left
54*8bc8ba8eSkasunathDisableFormat:   false
55*8bc8ba8eSkasunathExperimentalAutoDetectBinPacking: false
56*8bc8ba8eSkasunathFixNamespaceComments: true
57*8bc8ba8eSkasunathForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
58*8bc8ba8eSkasunathIncludeBlocks: Regroup
59*8bc8ba8eSkasunathIncludeCategories:
60*8bc8ba8eSkasunath  - Regex:           '^[<"](gtest|gmock)'
61*8bc8ba8eSkasunath    Priority:        7
62*8bc8ba8eSkasunath  - Regex:           '^"config.h"'
63*8bc8ba8eSkasunath    Priority:        -1
64*8bc8ba8eSkasunath  - Regex:           '^".*\.h"'
65*8bc8ba8eSkasunath    Priority:        1
66*8bc8ba8eSkasunath  - Regex:           '^".*\.hpp"'
67*8bc8ba8eSkasunath    Priority:        2
68*8bc8ba8eSkasunath  - Regex:           '^<.*\.h>'
69*8bc8ba8eSkasunath    Priority:        3
70*8bc8ba8eSkasunath  - Regex:           '^<.*\.hpp>'
71*8bc8ba8eSkasunath    Priority:        4
72*8bc8ba8eSkasunath  - Regex:           '^<.*'
73*8bc8ba8eSkasunath    Priority:        5
74*8bc8ba8eSkasunath  - Regex:           '.*'
75*8bc8ba8eSkasunath    Priority:        6
76*8bc8ba8eSkasunathIndentCaseLabels: true
77*8bc8ba8eSkasunathIndentWidth:     4
78*8bc8ba8eSkasunathIndentWrappedFunctionNames: true
79*8bc8ba8eSkasunathKeepEmptyLinesAtTheStartOfBlocks: true
80*8bc8ba8eSkasunathMacroBlockBegin: ''
81*8bc8ba8eSkasunathMacroBlockEnd:   ''
82*8bc8ba8eSkasunathMaxEmptyLinesToKeep: 1
83*8bc8ba8eSkasunathNamespaceIndentation: None
84*8bc8ba8eSkasunathObjCBlockIndentWidth: 2
85*8bc8ba8eSkasunathObjCSpaceAfterProperty: false
86*8bc8ba8eSkasunathObjCSpaceBeforeProtocolList: true
87*8bc8ba8eSkasunathPenaltyBreakBeforeFirstCallParameter: 19
88*8bc8ba8eSkasunathPenaltyBreakComment: 300
89*8bc8ba8eSkasunathPenaltyBreakFirstLessLess: 120
90*8bc8ba8eSkasunathPenaltyBreakString: 1000
91*8bc8ba8eSkasunathPenaltyExcessCharacter: 1000000
92*8bc8ba8eSkasunathPenaltyReturnTypeOnItsOwnLine: 60
93*8bc8ba8eSkasunathReflowComments:  true
94*8bc8ba8eSkasunathSortIncludes:    true
95*8bc8ba8eSkasunathSortUsingDeclarations: true
96*8bc8ba8eSkasunathSpaceAfterCStyleCast: false
97*8bc8ba8eSkasunathSpaceAfterTemplateKeyword: true
98*8bc8ba8eSkasunathSpaceBeforeAssignmentOperators: true
99*8bc8ba8eSkasunathSpaceBeforeCpp11BracedList: false
100*8bc8ba8eSkasunathSpaceBeforeCtorInitializerColon: true
101*8bc8ba8eSkasunathSpaceBeforeInheritanceColon: true
102*8bc8ba8eSkasunathSpaceBeforeParens: ControlStatements
103*8bc8ba8eSkasunathSpaceBeforeRangeBasedForLoopColon: true
104*8bc8ba8eSkasunathSpaceInEmptyParentheses: false
105*8bc8ba8eSkasunathSpacesBeforeTrailingComments: 1
106*8bc8ba8eSkasunathSpacesInAngles:  false
107*8bc8ba8eSkasunathSpacesInContainerLiterals: true
108*8bc8ba8eSkasunathSpacesInCStyleCastParentheses: false
109*8bc8ba8eSkasunathSpacesInParentheses: false
110*8bc8ba8eSkasunathSpacesInSquareBrackets: false
111*8bc8ba8eSkasunathStandard:        Latest
112*8bc8ba8eSkasunathTabWidth:        4
113*8bc8ba8eSkasunathUseTab:          Never
114*8bc8ba8eSkasunath...
115*8bc8ba8eSkasunath
116*8bc8ba8eSkasunath
117