xref: /openbmc/entity-manager/.clang-format (revision a465ccce)
13cb5feceSJames Feist---
23cb5feceSJames FeistLanguage:        Cpp
33cb5feceSJames Feist# BasedOnStyle:  LLVM
43cb5feceSJames FeistAccessModifierOffset: -2
53cb5feceSJames FeistAlignAfterOpenBracket: Align
63cb5feceSJames FeistAlignConsecutiveAssignments: false
73cb5feceSJames FeistAlignConsecutiveDeclarations: false
83cb5feceSJames FeistAlignEscapedNewlinesLeft: false
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 FeistAlwaysBreakAfterDefinitionReturnType: None
183cb5feceSJames FeistAlwaysBreakAfterReturnType: None
193cb5feceSJames FeistAlwaysBreakBeforeMultilineStrings: false
20*a465ccceSJames FeistAlwaysBreakTemplateDeclarations: true
213cb5feceSJames FeistBinPackArguments: true
223cb5feceSJames FeistBinPackParameters: true
233cb5feceSJames FeistBraceWrapping:
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
323cb5feceSJames Feist  BeforeCatch:     true
333cb5feceSJames Feist  BeforeElse:      true
343cb5feceSJames Feist  IndentBraces:    false
353cb5feceSJames FeistBreakBeforeBinaryOperators: None
363cb5feceSJames FeistBreakBeforeBraces: Custom
373cb5feceSJames FeistBreakBeforeTernaryOperators: true
38c72f8c26SJames FeistBreakConstructorInitializers: AfterColon
393cb5feceSJames FeistColumnLimit:     80
403cb5feceSJames FeistCommentPragmas:  '^ IWYU pragma:'
413cb5feceSJames FeistConstructorInitializerAllOnOneLineOrOnePerLine: false
423cb5feceSJames FeistConstructorInitializerIndentWidth: 4
433cb5feceSJames FeistContinuationIndentWidth: 4
443cb5feceSJames FeistCpp11BracedListStyle: true
45*a465ccceSJames FeistDerivePointerAlignment: false
46c72f8c26SJames FeistPointerAlignment: Left
473cb5feceSJames FeistDisableFormat:   false
483cb5feceSJames FeistExperimentalAutoDetectBinPacking: false
49c72f8c26SJames FeistFixNamespaceComments: true
503cb5feceSJames FeistForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
51*a465ccceSJames FeistIncludeBlocks: Regroup
52*a465ccceSJames FeistIncludeCategories:
53*a465ccceSJames Feist  - Regex:           '^[<"](gtest|gmock)'
54*a465ccceSJames Feist    Priority:        5
55*a465ccceSJames Feist  - Regex:           '^"config.h"'
56*a465ccceSJames Feist    Priority:        -1
57*a465ccceSJames Feist  - Regex:           '^".*\.hpp"'
58*a465ccceSJames Feist    Priority:        1
59*a465ccceSJames Feist  - Regex:           '^<.*\.h>'
60*a465ccceSJames Feist    Priority:        2
61*a465ccceSJames Feist  - Regex:           '^<.*'
62*a465ccceSJames Feist    Priority:        3
63*a465ccceSJames Feist  - Regex:           '.*'
64*a465ccceSJames Feist    Priority:        4
65c72f8c26SJames FeistIndentCaseLabels: true
663cb5feceSJames FeistIndentWidth:     4
67c72f8c26SJames FeistIndentWrappedFunctionNames: true
683cb5feceSJames FeistKeepEmptyLinesAtTheStartOfBlocks: true
693cb5feceSJames FeistMacroBlockBegin: ''
703cb5feceSJames FeistMacroBlockEnd:   ''
713cb5feceSJames FeistMaxEmptyLinesToKeep: 1
723cb5feceSJames FeistNamespaceIndentation: None
733cb5feceSJames FeistObjCBlockIndentWidth: 2
743cb5feceSJames FeistObjCSpaceAfterProperty: false
753cb5feceSJames FeistObjCSpaceBeforeProtocolList: true
763cb5feceSJames FeistPenaltyBreakBeforeFirstCallParameter: 19
773cb5feceSJames FeistPenaltyBreakComment: 300
783cb5feceSJames FeistPenaltyBreakFirstLessLess: 120
793cb5feceSJames FeistPenaltyBreakString: 1000
803cb5feceSJames FeistPenaltyExcessCharacter: 1000000
813cb5feceSJames FeistPenaltyReturnTypeOnItsOwnLine: 60
823cb5feceSJames FeistReflowComments:  true
83*a465ccceSJames FeistSortIncludes:    true
84*a465ccceSJames FeistSortUsingDeclarations: true
853cb5feceSJames FeistSpaceAfterCStyleCast: false
863cb5feceSJames FeistSpaceBeforeAssignmentOperators: true
873cb5feceSJames FeistSpaceBeforeParens: ControlStatements
883cb5feceSJames FeistSpaceInEmptyParentheses: false
893cb5feceSJames FeistSpacesBeforeTrailingComments: 1
903cb5feceSJames FeistSpacesInAngles:  false
913cb5feceSJames FeistSpacesInContainerLiterals: true
923cb5feceSJames FeistSpacesInCStyleCastParentheses: false
933cb5feceSJames FeistSpacesInParentheses: false
943cb5feceSJames FeistSpacesInSquareBrackets: false
953cb5feceSJames FeistStandard:        Cpp11
963cb5feceSJames FeistTabWidth:        4
973cb5feceSJames FeistUseTab:          Never
983cb5feceSJames Feist...
999eb0b58eSJames Feist
100