xref: /openbmc/entity-manager/.clang-format (revision b7077437)
13cb5feceSJames Feist---
23cb5feceSJames FeistLanguage:        Cpp
33cb5feceSJames Feist# BasedOnStyle:  LLVM
43cb5feceSJames FeistAccessModifierOffset: -2
53cb5feceSJames FeistAlignAfterOpenBracket: Align
63cb5feceSJames FeistAlignConsecutiveAssignments: false
73cb5feceSJames FeistAlignConsecutiveDeclarations: false
88c505da0SJames FeistAlignEscapedNewlines: Right
9df190619SPatrick WilliamsAlignOperands:  Align
10df190619SPatrick WilliamsAlignTrailingComments:
11df190619SPatrick Williams  Kind: Always
12df190619SPatrick Williams  OverEmptyLines: 1
133cb5feceSJames FeistAllowAllParametersOfDeclarationOnNextLine: true
14df190619SPatrick WilliamsAllowShortBlocksOnASingleLine: Empty
153cb5feceSJames FeistAllowShortCaseLabelsOnASingleLine: false
16df190619SPatrick WilliamsAllowShortFunctionsOnASingleLine: Empty
17b9dd7f86SPatrick WilliamsAllowShortIfStatementsOnASingleLine: Never
18b9dd7f86SPatrick WilliamsAllowShortLambdasOnASingleLine: true
193cb5feceSJames FeistAllowShortLoopsOnASingleLine: false
203cb5feceSJames FeistAlwaysBreakAfterReturnType: None
213cb5feceSJames FeistAlwaysBreakBeforeMultilineStrings: false
228c505da0SJames FeistAlwaysBreakTemplateDeclarations: Yes
233cb5feceSJames FeistBinPackArguments: true
243cb5feceSJames FeistBinPackParameters: true
25b9dd7f86SPatrick WilliamsBitFieldColonSpacing: None
263cb5feceSJames FeistBraceWrapping:
278c505da0SJames Feist  AfterCaseLabel:  true
283cb5feceSJames Feist  AfterClass:      true
293cb5feceSJames Feist  AfterControlStatement: true
303cb5feceSJames Feist  AfterEnum:       true
31b9dd7f86SPatrick Williams  AfterExternBlock: true
323cb5feceSJames Feist  AfterFunction:   true
33c72f8c26SJames Feist  AfterNamespace:  true
343cb5feceSJames Feist  AfterObjCDeclaration: true
353cb5feceSJames Feist  AfterStruct:     true
363cb5feceSJames Feist  AfterUnion:      true
373cb5feceSJames Feist  BeforeCatch:     true
383cb5feceSJames Feist  BeforeElse:      true
39b9dd7f86SPatrick Williams  BeforeLambdaBody: false
40b9dd7f86SPatrick Williams  BeforeWhile:     false
413cb5feceSJames Feist  IndentBraces:    false
428c505da0SJames Feist  SplitEmptyFunction:   false
438c505da0SJames Feist  SplitEmptyRecord:     false
448c505da0SJames Feist  SplitEmptyNamespace:  false
45df190619SPatrick WilliamsBreakAfterAttributes: Never
463cb5feceSJames FeistBreakBeforeBinaryOperators: None
473cb5feceSJames FeistBreakBeforeBraces: Custom
483cb5feceSJames FeistBreakBeforeTernaryOperators: true
49c72f8c26SJames FeistBreakConstructorInitializers: AfterColon
508c505da0SJames FeistBreakInheritanceList: AfterColon
51df190619SPatrick WilliamsBreakStringLiterals: false
523cb5feceSJames FeistColumnLimit:     80
533cb5feceSJames FeistCommentPragmas:  '^ IWYU pragma:'
548c505da0SJames FeistCompactNamespaces: false
553cb5feceSJames FeistConstructorInitializerIndentWidth: 4
563cb5feceSJames FeistContinuationIndentWidth: 4
573cb5feceSJames FeistCpp11BracedListStyle: true
58a465ccceSJames FeistDerivePointerAlignment: false
593cb5feceSJames FeistDisableFormat:   false
60c72f8c26SJames FeistFixNamespaceComments: true
61b9dd7f86SPatrick WilliamsForEachMacros:
62b9dd7f86SPatrick Williams  - foreach
63b9dd7f86SPatrick Williams  - Q_FOREACH
64b9dd7f86SPatrick Williams  - BOOST_FOREACH
65a465ccceSJames FeistIncludeBlocks: Regroup
66a465ccceSJames FeistIncludeCategories:
67a465ccceSJames Feist  - Regex:           '^[<"](gtest|gmock)'
688c505da0SJames Feist    Priority:        7
69a465ccceSJames Feist  - Regex:           '^"config.h"'
70a465ccceSJames Feist    Priority:        -1
718c505da0SJames Feist  - Regex:           '^".*\.h"'
72a465ccceSJames Feist    Priority:        1
738c505da0SJames Feist  - Regex:           '^".*\.hpp"'
74a465ccceSJames Feist    Priority:        2
758c505da0SJames Feist  - Regex:           '^<.*\.h>'
76a465ccceSJames Feist    Priority:        3
778c505da0SJames Feist  - Regex:           '^<.*\.hpp>'
78a465ccceSJames Feist    Priority:        4
798c505da0SJames Feist  - Regex:           '^<.*'
808c505da0SJames Feist    Priority:        5
818c505da0SJames Feist  - Regex:           '.*'
828c505da0SJames Feist    Priority:        6
83c72f8c26SJames FeistIndentCaseLabels: true
84b9dd7f86SPatrick WilliamsIndentExternBlock: NoIndent
85df190619SPatrick WilliamsIndentRequiresClause: true
863cb5feceSJames FeistIndentWidth:     4
87c72f8c26SJames FeistIndentWrappedFunctionNames: true
88df190619SPatrick WilliamsInsertNewlineAtEOF: true
89df190619SPatrick WilliamsKeepEmptyLinesAtTheStartOfBlocks: false
90*b7077437SPatrick WilliamsLambdaBodyIndentation: Signature
91df190619SPatrick WilliamsLineEnding: LF
923cb5feceSJames FeistMacroBlockBegin: ''
933cb5feceSJames FeistMacroBlockEnd:   ''
943cb5feceSJames FeistMaxEmptyLinesToKeep: 1
953cb5feceSJames FeistNamespaceIndentation: None
963cb5feceSJames FeistObjCBlockIndentWidth: 2
973cb5feceSJames FeistObjCSpaceAfterProperty: false
983cb5feceSJames FeistObjCSpaceBeforeProtocolList: true
99b9dd7f86SPatrick WilliamsPackConstructorInitializers: BinPack
100df190619SPatrick WilliamsPenaltyBreakAssignment: 25
101*b7077437SPatrick WilliamsPenaltyBreakBeforeFirstCallParameter: 50
1023cb5feceSJames FeistPenaltyBreakComment: 300
1033cb5feceSJames FeistPenaltyBreakFirstLessLess: 120
1043cb5feceSJames FeistPenaltyBreakString: 1000
105*b7077437SPatrick WilliamsPenaltyBreakTemplateDeclaration: 10
1063cb5feceSJames FeistPenaltyExcessCharacter: 1000000
1073cb5feceSJames FeistPenaltyReturnTypeOnItsOwnLine: 60
108*b7077437SPatrick WilliamsPenaltyIndentedWhitespace: 1
109b9dd7f86SPatrick WilliamsPointerAlignment: Left
110df190619SPatrick WilliamsQualifierAlignment: Left
111df190619SPatrick WilliamsReferenceAlignment: Left
1123cb5feceSJames FeistReflowComments:  true
113df190619SPatrick WilliamsRequiresClausePosition: OwnLine
114df190619SPatrick WilliamsRequiresExpressionIndentation: Keyword
115b9dd7f86SPatrick WilliamsSortIncludes: CaseSensitive
116a465ccceSJames FeistSortUsingDeclarations: true
1173cb5feceSJames FeistSpaceAfterCStyleCast: false
1188c505da0SJames FeistSpaceAfterTemplateKeyword: true
1193cb5feceSJames FeistSpaceBeforeAssignmentOperators: true
1208c505da0SJames FeistSpaceBeforeCpp11BracedList: false
1218c505da0SJames FeistSpaceBeforeCtorInitializerColon: true
1228c505da0SJames FeistSpaceBeforeInheritanceColon: true
1233cb5feceSJames FeistSpaceBeforeParens: ControlStatements
1248c505da0SJames FeistSpaceBeforeRangeBasedForLoopColon: true
1253cb5feceSJames FeistSpaceInEmptyParentheses: false
1263cb5feceSJames FeistSpacesBeforeTrailingComments: 1
127b9dd7f86SPatrick WilliamsSpacesInAngles: Never
1283cb5feceSJames FeistSpacesInContainerLiterals: true
1293cb5feceSJames FeistSpacesInCStyleCastParentheses: false
1303cb5feceSJames FeistSpacesInParentheses: false
1313cb5feceSJames FeistSpacesInSquareBrackets: false
132df190619SPatrick WilliamsStandard:        Latest
1333cb5feceSJames FeistTabWidth:        4
1343cb5feceSJames FeistUseTab:          Never
1353cb5feceSJames Feist...
1369eb0b58eSJames Feist
137