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