xref: /openbmc/entity-manager/.clang-format (revision b9dd7f86)
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
17*b9dd7f86SPatrick WilliamsAllowShortIfStatementsOnASingleLine: Never
18*b9dd7f86SPatrick WilliamsAllowShortLambdasOnASingleLine: true
193cb5feceSJames FeistAllowShortLoopsOnASingleLine: false
203cb5feceSJames FeistAlwaysBreakAfterReturnType: None
213cb5feceSJames FeistAlwaysBreakBeforeMultilineStrings: false
228c505da0SJames FeistAlwaysBreakTemplateDeclarations: Yes
233cb5feceSJames FeistBinPackArguments: true
243cb5feceSJames FeistBinPackParameters: true
25*b9dd7f86SPatrick WilliamsBitFieldColonSpacing: None
263cb5feceSJames FeistBraceWrapping:
278c505da0SJames Feist  AfterCaseLabel:  true
283cb5feceSJames Feist  AfterClass:      true
293cb5feceSJames Feist  AfterControlStatement: true
303cb5feceSJames Feist  AfterEnum:       true
31*b9dd7f86SPatrick 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
39*b9dd7f86SPatrick Williams  BeforeLambdaBody: false
40*b9dd7f86SPatrick 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
61*b9dd7f86SPatrick WilliamsForEachMacros:
62*b9dd7f86SPatrick Williams  - foreach
63*b9dd7f86SPatrick Williams  - Q_FOREACH
64*b9dd7f86SPatrick 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
84*b9dd7f86SPatrick WilliamsIndentExternBlock: NoIndent
85df190619SPatrick WilliamsIndentRequiresClause: true
863cb5feceSJames FeistIndentWidth:     4
87c72f8c26SJames FeistIndentWrappedFunctionNames: true
88df190619SPatrick WilliamsInsertNewlineAtEOF: true
89df190619SPatrick WilliamsKeepEmptyLinesAtTheStartOfBlocks: false
90df190619SPatrick WilliamsLambdaBodyIndentation: OuterScope
91df190619SPatrick WilliamsLineEnding: LF
923cb5feceSJames FeistMacroBlockBegin: ''
933cb5feceSJames FeistMacroBlockEnd:   ''
943cb5feceSJames FeistMaxEmptyLinesToKeep: 1
953cb5feceSJames FeistNamespaceIndentation: None
963cb5feceSJames FeistObjCBlockIndentWidth: 2
973cb5feceSJames FeistObjCSpaceAfterProperty: false
983cb5feceSJames FeistObjCSpaceBeforeProtocolList: true
99*b9dd7f86SPatrick WilliamsPackConstructorInitializers: BinPack
100df190619SPatrick WilliamsPenaltyBreakAssignment: 25
1013cb5feceSJames FeistPenaltyBreakBeforeFirstCallParameter: 19
1023cb5feceSJames FeistPenaltyBreakComment: 300
1033cb5feceSJames FeistPenaltyBreakFirstLessLess: 120
1043cb5feceSJames FeistPenaltyBreakString: 1000
1053cb5feceSJames FeistPenaltyExcessCharacter: 1000000
1063cb5feceSJames FeistPenaltyReturnTypeOnItsOwnLine: 60
107df190619SPatrick WilliamsPenaltyIndentedWhitespace: 0
108*b9dd7f86SPatrick WilliamsPointerAlignment: Left
109df190619SPatrick WilliamsQualifierAlignment: Left
110df190619SPatrick WilliamsReferenceAlignment: Left
1113cb5feceSJames FeistReflowComments:  true
112df190619SPatrick WilliamsRequiresClausePosition: OwnLine
113df190619SPatrick WilliamsRequiresExpressionIndentation: Keyword
114*b9dd7f86SPatrick WilliamsSortIncludes: CaseSensitive
115a465ccceSJames FeistSortUsingDeclarations: true
1163cb5feceSJames FeistSpaceAfterCStyleCast: false
1178c505da0SJames FeistSpaceAfterTemplateKeyword: true
1183cb5feceSJames FeistSpaceBeforeAssignmentOperators: true
1198c505da0SJames FeistSpaceBeforeCpp11BracedList: false
1208c505da0SJames FeistSpaceBeforeCtorInitializerColon: true
1218c505da0SJames FeistSpaceBeforeInheritanceColon: true
1223cb5feceSJames FeistSpaceBeforeParens: ControlStatements
1238c505da0SJames FeistSpaceBeforeRangeBasedForLoopColon: true
1243cb5feceSJames FeistSpaceInEmptyParentheses: false
1253cb5feceSJames FeistSpacesBeforeTrailingComments: 1
126*b9dd7f86SPatrick WilliamsSpacesInAngles: Never
1273cb5feceSJames FeistSpacesInContainerLiterals: true
1283cb5feceSJames FeistSpacesInCStyleCastParentheses: false
1293cb5feceSJames FeistSpacesInParentheses: false
1303cb5feceSJames FeistSpacesInSquareBrackets: false
131df190619SPatrick WilliamsStandard:        Latest
1323cb5feceSJames FeistTabWidth:        4
1333cb5feceSJames FeistUseTab:          Never
1343cb5feceSJames Feist...
1359eb0b58eSJames Feist
136