xref: /openbmc/intel-ipmi-oem/.clang-format (revision fcd2d3a9)
1a835eaa0SJia, Chunhui---
2a835eaa0SJia, ChunhuiLanguage:        Cpp
3a835eaa0SJia, Chunhui# BasedOnStyle:  LLVM
4a835eaa0SJia, ChunhuiAccessModifierOffset: -2
5a835eaa0SJia, ChunhuiAlignAfterOpenBracket: Align
6a835eaa0SJia, ChunhuiAlignConsecutiveAssignments: false
7a835eaa0SJia, ChunhuiAlignConsecutiveDeclarations: false
8*fcd2d3a9SJames FeistAlignEscapedNewlines: Right
9a835eaa0SJia, ChunhuiAlignOperands:   true
10a835eaa0SJia, ChunhuiAlignTrailingComments: true
11a835eaa0SJia, ChunhuiAllowAllParametersOfDeclarationOnNextLine: true
12a835eaa0SJia, ChunhuiAllowShortBlocksOnASingleLine: false
13a835eaa0SJia, ChunhuiAllowShortCaseLabelsOnASingleLine: false
14a835eaa0SJia, ChunhuiAllowShortFunctionsOnASingleLine: None
15a835eaa0SJia, ChunhuiAllowShortIfStatementsOnASingleLine: false
16a835eaa0SJia, ChunhuiAllowShortLoopsOnASingleLine: false
17a835eaa0SJia, ChunhuiAlwaysBreakAfterReturnType: None
18a835eaa0SJia, ChunhuiAlwaysBreakBeforeMultilineStrings: false
19*fcd2d3a9SJames FeistAlwaysBreakTemplateDeclarations: Yes
20a835eaa0SJia, ChunhuiBinPackArguments: true
21a835eaa0SJia, ChunhuiBinPackParameters: true
22a835eaa0SJia, ChunhuiBraceWrapping:
23*fcd2d3a9SJames Feist  AfterCaseLabel:  true
24a835eaa0SJia, Chunhui  AfterClass:      true
25a835eaa0SJia, Chunhui  AfterControlStatement: true
26a835eaa0SJia, Chunhui  AfterEnum:       true
27a835eaa0SJia, Chunhui  AfterFunction:   true
28a835eaa0SJia, Chunhui  AfterNamespace:  true
29a835eaa0SJia, Chunhui  AfterObjCDeclaration: true
30a835eaa0SJia, Chunhui  AfterStruct:     true
31a835eaa0SJia, Chunhui  AfterUnion:      true
32*fcd2d3a9SJames Feist  AfterExternBlock: true
33a835eaa0SJia, Chunhui  BeforeCatch:     true
34a835eaa0SJia, Chunhui  BeforeElse:      true
35a835eaa0SJia, Chunhui  IndentBraces:    false
36*fcd2d3a9SJames Feist  SplitEmptyFunction:   false
37*fcd2d3a9SJames Feist  SplitEmptyRecord:     false
38*fcd2d3a9SJames Feist  SplitEmptyNamespace:  false
39a835eaa0SJia, ChunhuiBreakBeforeBinaryOperators: None
40a835eaa0SJia, ChunhuiBreakBeforeBraces: Custom
41a835eaa0SJia, ChunhuiBreakBeforeTernaryOperators: true
42a835eaa0SJia, ChunhuiBreakConstructorInitializers: AfterColon
43*fcd2d3a9SJames FeistBreakInheritanceList: AfterColon
44*fcd2d3a9SJames FeistBreakStringLiterals: true
45a835eaa0SJia, ChunhuiColumnLimit:     80
46a835eaa0SJia, ChunhuiCommentPragmas:  '^ IWYU pragma:'
47*fcd2d3a9SJames FeistCompactNamespaces: false
48a835eaa0SJia, ChunhuiConstructorInitializerAllOnOneLineOrOnePerLine: false
49a835eaa0SJia, ChunhuiConstructorInitializerIndentWidth: 4
50a835eaa0SJia, ChunhuiContinuationIndentWidth: 4
51a835eaa0SJia, ChunhuiCpp11BracedListStyle: true
52*fcd2d3a9SJames FeistDerivePointerAlignment: false
53a835eaa0SJia, ChunhuiPointerAlignment: Left
54a835eaa0SJia, ChunhuiDisableFormat:   false
55a835eaa0SJia, ChunhuiExperimentalAutoDetectBinPacking: false
56a835eaa0SJia, ChunhuiFixNamespaceComments: true
57a835eaa0SJia, ChunhuiForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
58a835eaa0SJia, ChunhuiIncludeBlocks: Regroup
59a835eaa0SJia, ChunhuiIncludeCategories:
60a835eaa0SJia, Chunhui  - Regex:           '^[<"](gtest|gmock)'
61*fcd2d3a9SJames Feist    Priority:        7
62a835eaa0SJia, Chunhui  - Regex:           '^"config.h"'
63a835eaa0SJia, Chunhui    Priority:        -1
64*fcd2d3a9SJames Feist  - Regex:           '^".*\.h"'
65a835eaa0SJia, Chunhui    Priority:        1
66*fcd2d3a9SJames Feist  - Regex:           '^".*\.hpp"'
67a835eaa0SJia, Chunhui    Priority:        2
68*fcd2d3a9SJames Feist  - Regex:           '^<.*\.h>'
69a835eaa0SJia, Chunhui    Priority:        3
70*fcd2d3a9SJames Feist  - Regex:           '^<.*\.hpp>'
71a835eaa0SJia, Chunhui    Priority:        4
72*fcd2d3a9SJames Feist  - Regex:           '^<.*'
73*fcd2d3a9SJames Feist    Priority:        5
74*fcd2d3a9SJames Feist  - Regex:           '.*'
75*fcd2d3a9SJames Feist    Priority:        6
76a835eaa0SJia, ChunhuiIndentCaseLabels: true
77a835eaa0SJia, ChunhuiIndentWidth:     4
78a835eaa0SJia, ChunhuiIndentWrappedFunctionNames: true
79a835eaa0SJia, ChunhuiKeepEmptyLinesAtTheStartOfBlocks: true
80a835eaa0SJia, ChunhuiMacroBlockBegin: ''
81a835eaa0SJia, ChunhuiMacroBlockEnd:   ''
82a835eaa0SJia, ChunhuiMaxEmptyLinesToKeep: 1
83a835eaa0SJia, ChunhuiNamespaceIndentation: None
84a835eaa0SJia, ChunhuiObjCBlockIndentWidth: 2
85a835eaa0SJia, ChunhuiObjCSpaceAfterProperty: false
86a835eaa0SJia, ChunhuiObjCSpaceBeforeProtocolList: true
87a835eaa0SJia, ChunhuiPenaltyBreakBeforeFirstCallParameter: 19
88a835eaa0SJia, ChunhuiPenaltyBreakComment: 300
89a835eaa0SJia, ChunhuiPenaltyBreakFirstLessLess: 120
90a835eaa0SJia, ChunhuiPenaltyBreakString: 1000
91a835eaa0SJia, ChunhuiPenaltyExcessCharacter: 1000000
92a835eaa0SJia, ChunhuiPenaltyReturnTypeOnItsOwnLine: 60
93a835eaa0SJia, ChunhuiReflowComments:  true
94a835eaa0SJia, ChunhuiSortIncludes:    true
95*fcd2d3a9SJames FeistSortUsingDeclarations: true
96a835eaa0SJia, ChunhuiSpaceAfterCStyleCast: false
97*fcd2d3a9SJames FeistSpaceAfterTemplateKeyword: true
98a835eaa0SJia, ChunhuiSpaceBeforeAssignmentOperators: true
99*fcd2d3a9SJames FeistSpaceBeforeCpp11BracedList: false
100*fcd2d3a9SJames FeistSpaceBeforeCtorInitializerColon: true
101*fcd2d3a9SJames FeistSpaceBeforeInheritanceColon: true
102a835eaa0SJia, ChunhuiSpaceBeforeParens: ControlStatements
103*fcd2d3a9SJames FeistSpaceBeforeRangeBasedForLoopColon: true
104a835eaa0SJia, ChunhuiSpaceInEmptyParentheses: false
105a835eaa0SJia, ChunhuiSpacesBeforeTrailingComments: 1
106a835eaa0SJia, ChunhuiSpacesInAngles:  false
107a835eaa0SJia, ChunhuiSpacesInContainerLiterals: true
108a835eaa0SJia, ChunhuiSpacesInCStyleCastParentheses: false
109a835eaa0SJia, ChunhuiSpacesInParentheses: false
110a835eaa0SJia, ChunhuiSpacesInSquareBrackets: false
111a835eaa0SJia, ChunhuiStandard:        Cpp11
112a835eaa0SJia, ChunhuiTabWidth:        4
113a835eaa0SJia, ChunhuiUseTab:          Never
114a835eaa0SJia, Chunhui...
115*fcd2d3a9SJames Feist
116