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