xref: /openbmc/ipmbbridge/.clang-format (revision 9898d612)
1a642a948SDawid Frycki---
2a642a948SDawid FryckiLanguage:        Cpp
3a642a948SDawid Frycki# BasedOnStyle:  LLVM
4a642a948SDawid FryckiAccessModifierOffset: -2
5a642a948SDawid FryckiAlignAfterOpenBracket: Align
6a642a948SDawid FryckiAlignConsecutiveAssignments: false
7a642a948SDawid FryckiAlignConsecutiveDeclarations: false
8fe0d38a0SPatrick WilliamsAlignEscapedNewlines: Right
9fe0d38a0SPatrick WilliamsAlignOperands:  Align
103c796a6fSPatrick WilliamsAlignTrailingComments:
113c796a6fSPatrick Williams  Kind: Always
123c796a6fSPatrick Williams  OverEmptyLines: 1
13a642a948SDawid FryckiAllowAllParametersOfDeclarationOnNextLine: true
14fe0d38a0SPatrick WilliamsAllowShortBlocksOnASingleLine: Empty
15a642a948SDawid FryckiAllowShortCaseLabelsOnASingleLine: false
16fe0d38a0SPatrick WilliamsAllowShortFunctionsOnASingleLine: Empty
1764067be3SPatrick WilliamsAllowShortIfStatementsOnASingleLine: Never
1864067be3SPatrick WilliamsAllowShortLambdasOnASingleLine: true
19a642a948SDawid FryckiAllowShortLoopsOnASingleLine: false
20a642a948SDawid FryckiAlwaysBreakAfterReturnType: None
21a642a948SDawid FryckiAlwaysBreakBeforeMultilineStrings: false
22fe0d38a0SPatrick WilliamsAlwaysBreakTemplateDeclarations: Yes
23a642a948SDawid FryckiBinPackArguments: true
24a642a948SDawid FryckiBinPackParameters: true
2564067be3SPatrick WilliamsBitFieldColonSpacing: None
26a642a948SDawid FryckiBraceWrapping:
27fe0d38a0SPatrick Williams  AfterCaseLabel:  true
28a642a948SDawid Frycki  AfterClass:      true
29a642a948SDawid Frycki  AfterControlStatement: true
30a642a948SDawid Frycki  AfterEnum:       true
3164067be3SPatrick Williams  AfterExternBlock: true
32a642a948SDawid Frycki  AfterFunction:   true
33a642a948SDawid Frycki  AfterNamespace:  true
34a642a948SDawid Frycki  AfterObjCDeclaration: true
35a642a948SDawid Frycki  AfterStruct:     true
36a642a948SDawid Frycki  AfterUnion:      true
37a642a948SDawid Frycki  BeforeCatch:     true
38a642a948SDawid Frycki  BeforeElse:      true
3964067be3SPatrick Williams  BeforeLambdaBody: false
4064067be3SPatrick Williams  BeforeWhile:     false
41a642a948SDawid Frycki  IndentBraces:    false
42fe0d38a0SPatrick Williams  SplitEmptyFunction:   false
43fe0d38a0SPatrick Williams  SplitEmptyRecord:     false
44fe0d38a0SPatrick Williams  SplitEmptyNamespace:  false
453c796a6fSPatrick WilliamsBreakAfterAttributes: Never
46a642a948SDawid FryckiBreakBeforeBinaryOperators: None
47a642a948SDawid FryckiBreakBeforeBraces: Custom
48a642a948SDawid FryckiBreakBeforeTernaryOperators: true
49a642a948SDawid FryckiBreakConstructorInitializers: AfterColon
50fe0d38a0SPatrick WilliamsBreakInheritanceList: AfterColon
51fe0d38a0SPatrick WilliamsBreakStringLiterals: false
52a642a948SDawid FryckiColumnLimit:     80
53a642a948SDawid FryckiCommentPragmas:  '^ IWYU pragma:'
54fe0d38a0SPatrick WilliamsCompactNamespaces: false
55a642a948SDawid FryckiConstructorInitializerIndentWidth: 4
56a642a948SDawid FryckiContinuationIndentWidth: 4
57a642a948SDawid FryckiCpp11BracedListStyle: true
58fe0d38a0SPatrick WilliamsDerivePointerAlignment: false
59a642a948SDawid FryckiDisableFormat:   false
60a642a948SDawid FryckiFixNamespaceComments: true
6164067be3SPatrick WilliamsForEachMacros:
6264067be3SPatrick Williams  - foreach
6364067be3SPatrick Williams  - Q_FOREACH
6464067be3SPatrick Williams  - BOOST_FOREACH
65a642a948SDawid FryckiIncludeBlocks: Regroup
66a642a948SDawid FryckiIncludeCategories:
67a642a948SDawid Frycki  - Regex:           '^[<"](gtest|gmock)'
68fe0d38a0SPatrick Williams    Priority:        7
69a642a948SDawid Frycki  - Regex:           '^"config.h"'
70a642a948SDawid Frycki    Priority:        -1
71fe0d38a0SPatrick Williams  - Regex:           '^".*\.h"'
72a642a948SDawid Frycki    Priority:        1
73fe0d38a0SPatrick Williams  - Regex:           '^".*\.hpp"'
74a642a948SDawid Frycki    Priority:        2
75fe0d38a0SPatrick Williams  - Regex:           '^<.*\.h>'
76a642a948SDawid Frycki    Priority:        3
77fe0d38a0SPatrick Williams  - Regex:           '^<.*\.hpp>'
78a642a948SDawid Frycki    Priority:        4
79fe0d38a0SPatrick Williams  - Regex:           '^<.*'
80fe0d38a0SPatrick Williams    Priority:        5
81fe0d38a0SPatrick Williams  - Regex:           '.*'
82fe0d38a0SPatrick Williams    Priority:        6
83a642a948SDawid FryckiIndentCaseLabels: true
8464067be3SPatrick WilliamsIndentExternBlock: NoIndent
85fe0d38a0SPatrick WilliamsIndentRequiresClause: true
86a642a948SDawid FryckiIndentWidth:     4
87a642a948SDawid FryckiIndentWrappedFunctionNames: true
883c796a6fSPatrick WilliamsInsertNewlineAtEOF: true
89fe0d38a0SPatrick WilliamsKeepEmptyLinesAtTheStartOfBlocks: false
90*9898d612SPatrick WilliamsLambdaBodyIndentation: Signature
913c796a6fSPatrick WilliamsLineEnding: LF
92a642a948SDawid FryckiMacroBlockBegin: ''
93a642a948SDawid FryckiMacroBlockEnd:   ''
94a642a948SDawid FryckiMaxEmptyLinesToKeep: 1
95a642a948SDawid FryckiNamespaceIndentation: None
96a642a948SDawid FryckiObjCBlockIndentWidth: 2
97a642a948SDawid FryckiObjCSpaceAfterProperty: false
98a642a948SDawid FryckiObjCSpaceBeforeProtocolList: true
9964067be3SPatrick WilliamsPackConstructorInitializers: BinPack
100fe0d38a0SPatrick WilliamsPenaltyBreakAssignment: 25
101*9898d612SPatrick WilliamsPenaltyBreakBeforeFirstCallParameter: 50
102a642a948SDawid FryckiPenaltyBreakComment: 300
103a642a948SDawid FryckiPenaltyBreakFirstLessLess: 120
104a642a948SDawid FryckiPenaltyBreakString: 1000
105*9898d612SPatrick WilliamsPenaltyBreakTemplateDeclaration: 10
106a642a948SDawid FryckiPenaltyExcessCharacter: 1000000
107a642a948SDawid FryckiPenaltyReturnTypeOnItsOwnLine: 60
108*9898d612SPatrick WilliamsPenaltyIndentedWhitespace: 1
10964067be3SPatrick WilliamsPointerAlignment: Left
110fe0d38a0SPatrick WilliamsQualifierAlignment: Left
111fe0d38a0SPatrick WilliamsReferenceAlignment: Left
112a642a948SDawid FryckiReflowComments:  true
113fe0d38a0SPatrick WilliamsRequiresClausePosition: OwnLine
1143c796a6fSPatrick WilliamsRequiresExpressionIndentation: Keyword
11564067be3SPatrick WilliamsSortIncludes: CaseSensitive
116fe0d38a0SPatrick WilliamsSortUsingDeclarations: true
117a642a948SDawid FryckiSpaceAfterCStyleCast: false
118fe0d38a0SPatrick WilliamsSpaceAfterTemplateKeyword: true
119a642a948SDawid FryckiSpaceBeforeAssignmentOperators: true
120fe0d38a0SPatrick WilliamsSpaceBeforeCpp11BracedList: false
121fe0d38a0SPatrick WilliamsSpaceBeforeCtorInitializerColon: true
122fe0d38a0SPatrick WilliamsSpaceBeforeInheritanceColon: true
123a642a948SDawid FryckiSpaceBeforeParens: ControlStatements
124fe0d38a0SPatrick WilliamsSpaceBeforeRangeBasedForLoopColon: true
125a642a948SDawid FryckiSpaceInEmptyParentheses: false
126a642a948SDawid FryckiSpacesBeforeTrailingComments: 1
12764067be3SPatrick WilliamsSpacesInAngles: Never
128a642a948SDawid FryckiSpacesInContainerLiterals: true
129a642a948SDawid FryckiSpacesInCStyleCastParentheses: false
130a642a948SDawid FryckiSpacesInParentheses: false
131a642a948SDawid FryckiSpacesInSquareBrackets: false
132fe0d38a0SPatrick WilliamsStandard:        Latest
133a642a948SDawid FryckiTabWidth:        4
134a642a948SDawid FryckiUseTab:          Never
135a642a948SDawid Frycki...
136fe0d38a0SPatrick Williams
137