xref: /openbmc/phosphor-host-postd/.clang-format (revision b5754fd45086e92b47cfd7aaa8a55c75a44881d6)
133569758SPatrick Venture---
233569758SPatrick VentureLanguage:        Cpp
333569758SPatrick Venture# BasedOnStyle:  LLVM
433569758SPatrick VentureAccessModifierOffset: -2
533569758SPatrick VentureAlignAfterOpenBracket: Align
633569758SPatrick VentureAlignConsecutiveAssignments: false
733569758SPatrick VentureAlignConsecutiveDeclarations: false
833569758SPatrick VentureAlignEscapedNewlinesLeft: false
933569758SPatrick VentureAlignOperands:   true
1033569758SPatrick VentureAlignTrailingComments: true
1133569758SPatrick VentureAllowAllParametersOfDeclarationOnNextLine: true
1233569758SPatrick VentureAllowShortBlocksOnASingleLine: false
1333569758SPatrick VentureAllowShortCaseLabelsOnASingleLine: false
1433569758SPatrick VentureAllowShortFunctionsOnASingleLine: None
1533569758SPatrick VentureAllowShortIfStatementsOnASingleLine: false
1633569758SPatrick VentureAllowShortLoopsOnASingleLine: false
1733569758SPatrick VentureAlwaysBreakAfterDefinitionReturnType: None
1833569758SPatrick VentureAlwaysBreakAfterReturnType: None
1933569758SPatrick VentureAlwaysBreakBeforeMultilineStrings: false
20*b5754fd4SPatrick VentureAlwaysBreakTemplateDeclarations: true
2133569758SPatrick VentureBinPackArguments: true
2233569758SPatrick VentureBinPackParameters: true
2333569758SPatrick VentureBraceWrapping:
2433569758SPatrick Venture  AfterClass:      true
2533569758SPatrick Venture  AfterControlStatement: true
2633569758SPatrick Venture  AfterEnum:       true
2733569758SPatrick Venture  AfterFunction:   true
2833569758SPatrick Venture  AfterNamespace:  true
2933569758SPatrick Venture  AfterObjCDeclaration: true
3033569758SPatrick Venture  AfterStruct:     true
3133569758SPatrick Venture  AfterUnion:      true
3233569758SPatrick Venture  BeforeCatch:     true
3333569758SPatrick Venture  BeforeElse:      true
3433569758SPatrick Venture  IndentBraces:    false
3533569758SPatrick VentureBreakBeforeBinaryOperators: None
3633569758SPatrick VentureBreakBeforeBraces: Custom
3733569758SPatrick VentureBreakBeforeTernaryOperators: true
3833569758SPatrick VentureBreakConstructorInitializers: AfterColon
3933569758SPatrick VentureColumnLimit:     80
4033569758SPatrick VentureCommentPragmas:  '^ IWYU pragma:'
4133569758SPatrick VentureConstructorInitializerAllOnOneLineOrOnePerLine: false
4233569758SPatrick VentureConstructorInitializerIndentWidth: 4
4333569758SPatrick VentureContinuationIndentWidth: 4
4433569758SPatrick VentureCpp11BracedListStyle: true
45*b5754fd4SPatrick VentureDerivePointerAlignment: false
4633569758SPatrick VenturePointerAlignment: Left
4733569758SPatrick VentureDisableFormat:   false
4833569758SPatrick VentureExperimentalAutoDetectBinPacking: false
4933569758SPatrick VentureFixNamespaceComments: true
5033569758SPatrick VentureForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
51*b5754fd4SPatrick VentureIncludeBlocks: Regroup
52*b5754fd4SPatrick VentureIncludeCategories:
53*b5754fd4SPatrick Venture  - Regex:           '^[<"](gtest|gmock)'
54*b5754fd4SPatrick Venture    Priority:        5
55*b5754fd4SPatrick Venture  - Regex:           '^"config.h"'
56*b5754fd4SPatrick Venture    Priority:        -1
57*b5754fd4SPatrick Venture  - Regex:           '^".*\.hpp"'
58*b5754fd4SPatrick Venture    Priority:        1
59*b5754fd4SPatrick Venture  - Regex:           '^<.*\.h>'
60*b5754fd4SPatrick Venture    Priority:        2
61*b5754fd4SPatrick Venture  - Regex:           '^<.*'
62*b5754fd4SPatrick Venture    Priority:        3
63*b5754fd4SPatrick Venture  - Regex:           '.*'
64*b5754fd4SPatrick Venture    Priority:        4
6533569758SPatrick VentureIndentCaseLabels: true
6633569758SPatrick VentureIndentWidth:     4
67*b5754fd4SPatrick VentureIndentWrappedFunctionNames: true
6833569758SPatrick VentureKeepEmptyLinesAtTheStartOfBlocks: true
6933569758SPatrick VentureMacroBlockBegin: ''
7033569758SPatrick VentureMacroBlockEnd:   ''
7133569758SPatrick VentureMaxEmptyLinesToKeep: 1
7233569758SPatrick VentureNamespaceIndentation: None
7333569758SPatrick VentureObjCBlockIndentWidth: 2
7433569758SPatrick VentureObjCSpaceAfterProperty: false
7533569758SPatrick VentureObjCSpaceBeforeProtocolList: true
7633569758SPatrick VenturePenaltyBreakBeforeFirstCallParameter: 19
7733569758SPatrick VenturePenaltyBreakComment: 300
7833569758SPatrick VenturePenaltyBreakFirstLessLess: 120
7933569758SPatrick VenturePenaltyBreakString: 1000
8033569758SPatrick VenturePenaltyExcessCharacter: 1000000
8133569758SPatrick VenturePenaltyReturnTypeOnItsOwnLine: 60
8233569758SPatrick VentureReflowComments:  true
83*b5754fd4SPatrick VentureSortIncludes:    true
84*b5754fd4SPatrick VentureSortUsingDeclarations: true
8533569758SPatrick VentureSpaceAfterCStyleCast: false
8633569758SPatrick VentureSpaceBeforeAssignmentOperators: true
8733569758SPatrick VentureSpaceBeforeParens: ControlStatements
8833569758SPatrick VentureSpaceInEmptyParentheses: false
8933569758SPatrick VentureSpacesBeforeTrailingComments: 1
9033569758SPatrick VentureSpacesInAngles:  false
9133569758SPatrick VentureSpacesInContainerLiterals: true
9233569758SPatrick VentureSpacesInCStyleCastParentheses: false
9333569758SPatrick VentureSpacesInParentheses: false
9433569758SPatrick VentureSpacesInSquareBrackets: false
9533569758SPatrick VentureStandard:        Cpp11
9633569758SPatrick VentureTabWidth:        4
9733569758SPatrick VentureUseTab:          Never
9833569758SPatrick Venture...
9933569758SPatrick Venture
100