xref: /openbmc/entity-manager/.clang-format (revision 8c505da0)
13cb5feceSJames Feist---
23cb5feceSJames FeistLanguage:        Cpp
33cb5feceSJames Feist# BasedOnStyle:  LLVM
43cb5feceSJames FeistAccessModifierOffset: -2
53cb5feceSJames FeistAlignAfterOpenBracket: Align
63cb5feceSJames FeistAlignConsecutiveAssignments: false
73cb5feceSJames FeistAlignConsecutiveDeclarations: false
8*8c505da0SJames FeistAlignEscapedNewlines: Right
93cb5feceSJames FeistAlignOperands:   true
103cb5feceSJames FeistAlignTrailingComments: true
113cb5feceSJames FeistAllowAllParametersOfDeclarationOnNextLine: true
123cb5feceSJames FeistAllowShortBlocksOnASingleLine: false
133cb5feceSJames FeistAllowShortCaseLabelsOnASingleLine: false
143cb5feceSJames FeistAllowShortFunctionsOnASingleLine: None
153cb5feceSJames FeistAllowShortIfStatementsOnASingleLine: false
163cb5feceSJames FeistAllowShortLoopsOnASingleLine: false
173cb5feceSJames FeistAlwaysBreakAfterReturnType: None
183cb5feceSJames FeistAlwaysBreakBeforeMultilineStrings: false
19*8c505da0SJames FeistAlwaysBreakTemplateDeclarations: Yes
203cb5feceSJames FeistBinPackArguments: true
213cb5feceSJames FeistBinPackParameters: true
223cb5feceSJames FeistBraceWrapping:
23*8c505da0SJames Feist  AfterCaseLabel:  true
243cb5feceSJames Feist  AfterClass:      true
253cb5feceSJames Feist  AfterControlStatement: true
263cb5feceSJames Feist  AfterEnum:       true
273cb5feceSJames Feist  AfterFunction:   true
28c72f8c26SJames Feist  AfterNamespace:  true
293cb5feceSJames Feist  AfterObjCDeclaration: true
303cb5feceSJames Feist  AfterStruct:     true
313cb5feceSJames Feist  AfterUnion:      true
32*8c505da0SJames Feist  AfterExternBlock: true
333cb5feceSJames Feist  BeforeCatch:     true
343cb5feceSJames Feist  BeforeElse:      true
353cb5feceSJames Feist  IndentBraces:    false
36*8c505da0SJames Feist  SplitEmptyFunction:   false
37*8c505da0SJames Feist  SplitEmptyRecord:     false
38*8c505da0SJames Feist  SplitEmptyNamespace:  false
393cb5feceSJames FeistBreakBeforeBinaryOperators: None
403cb5feceSJames FeistBreakBeforeBraces: Custom
413cb5feceSJames FeistBreakBeforeTernaryOperators: true
42c72f8c26SJames FeistBreakConstructorInitializers: AfterColon
43*8c505da0SJames FeistBreakInheritanceList: AfterColon
44*8c505da0SJames FeistBreakStringLiterals: true
453cb5feceSJames FeistColumnLimit:     80
463cb5feceSJames FeistCommentPragmas:  '^ IWYU pragma:'
47*8c505da0SJames FeistCompactNamespaces: false
483cb5feceSJames FeistConstructorInitializerAllOnOneLineOrOnePerLine: false
493cb5feceSJames FeistConstructorInitializerIndentWidth: 4
503cb5feceSJames FeistContinuationIndentWidth: 4
513cb5feceSJames FeistCpp11BracedListStyle: true
52a465ccceSJames FeistDerivePointerAlignment: false
53c72f8c26SJames FeistPointerAlignment: Left
543cb5feceSJames FeistDisableFormat:   false
553cb5feceSJames FeistExperimentalAutoDetectBinPacking: false
56c72f8c26SJames FeistFixNamespaceComments: true
573cb5feceSJames FeistForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
58a465ccceSJames FeistIncludeBlocks: Regroup
59a465ccceSJames FeistIncludeCategories:
60a465ccceSJames Feist  - Regex:           '^[<"](gtest|gmock)'
61*8c505da0SJames Feist    Priority:        7
62a465ccceSJames Feist  - Regex:           '^"config.h"'
63a465ccceSJames Feist    Priority:        -1
64*8c505da0SJames Feist  - Regex:           '^".*\.h"'
65a465ccceSJames Feist    Priority:        1
66*8c505da0SJames Feist  - Regex:           '^".*\.hpp"'
67a465ccceSJames Feist    Priority:        2
68*8c505da0SJames Feist  - Regex:           '^<.*\.h>'
69a465ccceSJames Feist    Priority:        3
70*8c505da0SJames Feist  - Regex:           '^<.*\.hpp>'
71a465ccceSJames Feist    Priority:        4
72*8c505da0SJames Feist  - Regex:           '^<.*'
73*8c505da0SJames Feist    Priority:        5
74*8c505da0SJames Feist  - Regex:           '.*'
75*8c505da0SJames Feist    Priority:        6
76c72f8c26SJames FeistIndentCaseLabels: true
773cb5feceSJames FeistIndentWidth:     4
78c72f8c26SJames FeistIndentWrappedFunctionNames: true
793cb5feceSJames FeistKeepEmptyLinesAtTheStartOfBlocks: true
803cb5feceSJames FeistMacroBlockBegin: ''
813cb5feceSJames FeistMacroBlockEnd:   ''
823cb5feceSJames FeistMaxEmptyLinesToKeep: 1
833cb5feceSJames FeistNamespaceIndentation: None
843cb5feceSJames FeistObjCBlockIndentWidth: 2
853cb5feceSJames FeistObjCSpaceAfterProperty: false
863cb5feceSJames FeistObjCSpaceBeforeProtocolList: true
873cb5feceSJames FeistPenaltyBreakBeforeFirstCallParameter: 19
883cb5feceSJames FeistPenaltyBreakComment: 300
893cb5feceSJames FeistPenaltyBreakFirstLessLess: 120
903cb5feceSJames FeistPenaltyBreakString: 1000
913cb5feceSJames FeistPenaltyExcessCharacter: 1000000
923cb5feceSJames FeistPenaltyReturnTypeOnItsOwnLine: 60
933cb5feceSJames FeistReflowComments:  true
94a465ccceSJames FeistSortIncludes:    true
95a465ccceSJames FeistSortUsingDeclarations: true
963cb5feceSJames FeistSpaceAfterCStyleCast: false
97*8c505da0SJames FeistSpaceAfterTemplateKeyword: true
983cb5feceSJames FeistSpaceBeforeAssignmentOperators: true
99*8c505da0SJames FeistSpaceBeforeCpp11BracedList: false
100*8c505da0SJames FeistSpaceBeforeCtorInitializerColon: true
101*8c505da0SJames FeistSpaceBeforeInheritanceColon: true
1023cb5feceSJames FeistSpaceBeforeParens: ControlStatements
103*8c505da0SJames FeistSpaceBeforeRangeBasedForLoopColon: true
1043cb5feceSJames FeistSpaceInEmptyParentheses: false
1053cb5feceSJames FeistSpacesBeforeTrailingComments: 1
1063cb5feceSJames FeistSpacesInAngles:  false
1073cb5feceSJames FeistSpacesInContainerLiterals: true
1083cb5feceSJames FeistSpacesInCStyleCastParentheses: false
1093cb5feceSJames FeistSpacesInParentheses: false
1103cb5feceSJames FeistSpacesInSquareBrackets: false
1113cb5feceSJames FeistStandard:        Cpp11
1123cb5feceSJames FeistTabWidth:        4
1133cb5feceSJames FeistUseTab:          Never
1143cb5feceSJames Feist...
1159eb0b58eSJames Feist
116