xref: /openbmc/entity-manager/.clang-format (revision df190619)
13cb5feceSJames Feist---
23cb5feceSJames FeistLanguage:        Cpp
33cb5feceSJames Feist# BasedOnStyle:  LLVM
43cb5feceSJames FeistAccessModifierOffset: -2
53cb5feceSJames FeistAlignAfterOpenBracket: Align
63cb5feceSJames FeistAlignConsecutiveAssignments: false
73cb5feceSJames FeistAlignConsecutiveDeclarations: false
88c505da0SJames FeistAlignEscapedNewlines: Right
9*df190619SPatrick WilliamsAlignOperands:  Align
10*df190619SPatrick WilliamsAlignTrailingComments:
11*df190619SPatrick Williams  Kind: Always
12*df190619SPatrick Williams  OverEmptyLines: 1
133cb5feceSJames FeistAllowAllParametersOfDeclarationOnNextLine: true
14*df190619SPatrick WilliamsAllowShortBlocksOnASingleLine: Empty
153cb5feceSJames FeistAllowShortCaseLabelsOnASingleLine: false
16*df190619SPatrick WilliamsAllowShortFunctionsOnASingleLine: Empty
173cb5feceSJames FeistAllowShortIfStatementsOnASingleLine: false
183cb5feceSJames FeistAllowShortLoopsOnASingleLine: false
193cb5feceSJames FeistAlwaysBreakAfterReturnType: None
203cb5feceSJames FeistAlwaysBreakBeforeMultilineStrings: false
218c505da0SJames FeistAlwaysBreakTemplateDeclarations: Yes
223cb5feceSJames FeistBinPackArguments: true
233cb5feceSJames FeistBinPackParameters: true
243cb5feceSJames FeistBraceWrapping:
258c505da0SJames Feist  AfterCaseLabel:  true
263cb5feceSJames Feist  AfterClass:      true
273cb5feceSJames Feist  AfterControlStatement: true
283cb5feceSJames Feist  AfterEnum:       true
293cb5feceSJames Feist  AfterFunction:   true
30c72f8c26SJames Feist  AfterNamespace:  true
313cb5feceSJames Feist  AfterObjCDeclaration: true
323cb5feceSJames Feist  AfterStruct:     true
333cb5feceSJames Feist  AfterUnion:      true
348c505da0SJames Feist  AfterExternBlock: true
353cb5feceSJames Feist  BeforeCatch:     true
363cb5feceSJames Feist  BeforeElse:      true
373cb5feceSJames Feist  IndentBraces:    false
388c505da0SJames Feist  SplitEmptyFunction:   false
398c505da0SJames Feist  SplitEmptyRecord:     false
408c505da0SJames Feist  SplitEmptyNamespace:  false
41*df190619SPatrick WilliamsBreakAfterAttributes: Never
423cb5feceSJames FeistBreakBeforeBinaryOperators: None
433cb5feceSJames FeistBreakBeforeBraces: Custom
443cb5feceSJames FeistBreakBeforeTernaryOperators: true
45c72f8c26SJames FeistBreakConstructorInitializers: AfterColon
468c505da0SJames FeistBreakInheritanceList: AfterColon
47*df190619SPatrick WilliamsBreakStringLiterals: false
483cb5feceSJames FeistColumnLimit:     80
493cb5feceSJames FeistCommentPragmas:  '^ IWYU pragma:'
508c505da0SJames FeistCompactNamespaces: false
513cb5feceSJames FeistConstructorInitializerAllOnOneLineOrOnePerLine: false
523cb5feceSJames FeistConstructorInitializerIndentWidth: 4
533cb5feceSJames FeistContinuationIndentWidth: 4
543cb5feceSJames FeistCpp11BracedListStyle: true
55*df190619SPatrick WilliamsDeriveLineEnding: false
56a465ccceSJames FeistDerivePointerAlignment: false
57c72f8c26SJames FeistPointerAlignment: Left
583cb5feceSJames FeistDisableFormat:   false
593cb5feceSJames FeistExperimentalAutoDetectBinPacking: false
60c72f8c26SJames FeistFixNamespaceComments: true
613cb5feceSJames FeistForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
62a465ccceSJames FeistIncludeBlocks: Regroup
63a465ccceSJames FeistIncludeCategories:
64a465ccceSJames Feist  - Regex:           '^[<"](gtest|gmock)'
658c505da0SJames Feist    Priority:        7
66a465ccceSJames Feist  - Regex:           '^"config.h"'
67a465ccceSJames Feist    Priority:        -1
688c505da0SJames Feist  - Regex:           '^".*\.h"'
69a465ccceSJames Feist    Priority:        1
708c505da0SJames Feist  - Regex:           '^".*\.hpp"'
71a465ccceSJames Feist    Priority:        2
728c505da0SJames Feist  - Regex:           '^<.*\.h>'
73a465ccceSJames Feist    Priority:        3
748c505da0SJames Feist  - Regex:           '^<.*\.hpp>'
75a465ccceSJames Feist    Priority:        4
768c505da0SJames Feist  - Regex:           '^<.*'
778c505da0SJames Feist    Priority:        5
788c505da0SJames Feist  - Regex:           '.*'
798c505da0SJames Feist    Priority:        6
80c72f8c26SJames FeistIndentCaseLabels: true
81*df190619SPatrick WilliamsIndentRequiresClause: true
823cb5feceSJames FeistIndentWidth:     4
83c72f8c26SJames FeistIndentWrappedFunctionNames: true
84*df190619SPatrick WilliamsInsertNewlineAtEOF: true
85*df190619SPatrick WilliamsKeepEmptyLinesAtTheStartOfBlocks: false
86*df190619SPatrick WilliamsLambdaBodyIndentation: OuterScope
87*df190619SPatrick WilliamsLineEnding: LF
883cb5feceSJames FeistMacroBlockBegin: ''
893cb5feceSJames FeistMacroBlockEnd:   ''
903cb5feceSJames FeistMaxEmptyLinesToKeep: 1
913cb5feceSJames FeistNamespaceIndentation: None
923cb5feceSJames FeistObjCBlockIndentWidth: 2
933cb5feceSJames FeistObjCSpaceAfterProperty: false
943cb5feceSJames FeistObjCSpaceBeforeProtocolList: true
95*df190619SPatrick WilliamsPenaltyBreakAssignment: 25
963cb5feceSJames FeistPenaltyBreakBeforeFirstCallParameter: 19
973cb5feceSJames FeistPenaltyBreakComment: 300
983cb5feceSJames FeistPenaltyBreakFirstLessLess: 120
993cb5feceSJames FeistPenaltyBreakString: 1000
1003cb5feceSJames FeistPenaltyExcessCharacter: 1000000
1013cb5feceSJames FeistPenaltyReturnTypeOnItsOwnLine: 60
102*df190619SPatrick WilliamsPenaltyIndentedWhitespace: 0
103*df190619SPatrick WilliamsQualifierAlignment: Left
104*df190619SPatrick WilliamsReferenceAlignment: Left
1053cb5feceSJames FeistReflowComments:  true
106*df190619SPatrick WilliamsRequiresClausePosition: OwnLine
107*df190619SPatrick WilliamsRequiresExpressionIndentation: Keyword
108a465ccceSJames FeistSortIncludes:    true
109a465ccceSJames FeistSortUsingDeclarations: true
1103cb5feceSJames FeistSpaceAfterCStyleCast: false
1118c505da0SJames FeistSpaceAfterTemplateKeyword: true
1123cb5feceSJames FeistSpaceBeforeAssignmentOperators: true
1138c505da0SJames FeistSpaceBeforeCpp11BracedList: false
1148c505da0SJames FeistSpaceBeforeCtorInitializerColon: true
1158c505da0SJames FeistSpaceBeforeInheritanceColon: true
1163cb5feceSJames FeistSpaceBeforeParens: ControlStatements
1178c505da0SJames FeistSpaceBeforeRangeBasedForLoopColon: true
1183cb5feceSJames FeistSpaceInEmptyParentheses: false
1193cb5feceSJames FeistSpacesBeforeTrailingComments: 1
1203cb5feceSJames FeistSpacesInAngles:  false
1213cb5feceSJames FeistSpacesInContainerLiterals: true
1223cb5feceSJames FeistSpacesInCStyleCastParentheses: false
1233cb5feceSJames FeistSpacesInParentheses: false
1243cb5feceSJames FeistSpacesInSquareBrackets: false
125*df190619SPatrick WilliamsStandard:        Latest
1263cb5feceSJames FeistTabWidth:        4
1273cb5feceSJames FeistUseTab:          Never
1283cb5feceSJames Feist...
1299eb0b58eSJames Feist
130