xref: /openbmc/openpower-debug-collector/.clang-format (revision b618ccbaa758fcc282669b2b5c90c50df1725a10)
1*b618ccbaSJayanth Othayoth---
2*b618ccbaSJayanth OthayothLanguage:        Cpp
3*b618ccbaSJayanth Othayoth# BasedOnStyle:  LLVM
4*b618ccbaSJayanth OthayothAccessModifierOffset: -2
5*b618ccbaSJayanth OthayothAlignAfterOpenBracket: Align
6*b618ccbaSJayanth OthayothAlignConsecutiveAssignments: false
7*b618ccbaSJayanth OthayothAlignConsecutiveDeclarations: false
8*b618ccbaSJayanth OthayothAlignEscapedNewlinesLeft: false
9*b618ccbaSJayanth OthayothAlignOperands:   true
10*b618ccbaSJayanth OthayothAlignTrailingComments: true
11*b618ccbaSJayanth OthayothAllowAllParametersOfDeclarationOnNextLine: true
12*b618ccbaSJayanth OthayothAllowShortBlocksOnASingleLine: false
13*b618ccbaSJayanth OthayothAllowShortCaseLabelsOnASingleLine: false
14*b618ccbaSJayanth OthayothAllowShortFunctionsOnASingleLine: None
15*b618ccbaSJayanth OthayothAllowShortIfStatementsOnASingleLine: false
16*b618ccbaSJayanth OthayothAllowShortLoopsOnASingleLine: false
17*b618ccbaSJayanth OthayothAlwaysBreakAfterDefinitionReturnType: None
18*b618ccbaSJayanth OthayothAlwaysBreakAfterReturnType: None
19*b618ccbaSJayanth OthayothAlwaysBreakBeforeMultilineStrings: false
20*b618ccbaSJayanth OthayothAlwaysBreakTemplateDeclarations: true
21*b618ccbaSJayanth OthayothBinPackArguments: true
22*b618ccbaSJayanth OthayothBinPackParameters: true
23*b618ccbaSJayanth OthayothBraceWrapping:
24*b618ccbaSJayanth Othayoth  AfterClass:      true
25*b618ccbaSJayanth Othayoth  AfterControlStatement: true
26*b618ccbaSJayanth Othayoth  AfterEnum:       true
27*b618ccbaSJayanth Othayoth  AfterFunction:   true
28*b618ccbaSJayanth Othayoth  AfterNamespace:  true
29*b618ccbaSJayanth Othayoth  AfterObjCDeclaration: true
30*b618ccbaSJayanth Othayoth  AfterStruct:     true
31*b618ccbaSJayanth Othayoth  AfterUnion:      true
32*b618ccbaSJayanth Othayoth  BeforeCatch:     true
33*b618ccbaSJayanth Othayoth  BeforeElse:      true
34*b618ccbaSJayanth Othayoth  IndentBraces:    false
35*b618ccbaSJayanth OthayothBreakBeforeBinaryOperators: None
36*b618ccbaSJayanth OthayothBreakBeforeBraces: Custom
37*b618ccbaSJayanth OthayothBreakBeforeTernaryOperators: true
38*b618ccbaSJayanth OthayothBreakConstructorInitializers: AfterColon
39*b618ccbaSJayanth OthayothColumnLimit:     80
40*b618ccbaSJayanth OthayothCommentPragmas:  '^ IWYU pragma:'
41*b618ccbaSJayanth OthayothConstructorInitializerAllOnOneLineOrOnePerLine: false
42*b618ccbaSJayanth OthayothConstructorInitializerIndentWidth: 4
43*b618ccbaSJayanth OthayothContinuationIndentWidth: 4
44*b618ccbaSJayanth OthayothCpp11BracedListStyle: true
45*b618ccbaSJayanth OthayothDerivePointerAlignment: false
46*b618ccbaSJayanth OthayothPointerAlignment: Left
47*b618ccbaSJayanth OthayothDisableFormat:   false
48*b618ccbaSJayanth OthayothExperimentalAutoDetectBinPacking: false
49*b618ccbaSJayanth OthayothFixNamespaceComments: true
50*b618ccbaSJayanth OthayothForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
51*b618ccbaSJayanth OthayothIncludeBlocks: Regroup
52*b618ccbaSJayanth OthayothIncludeCategories:
53*b618ccbaSJayanth Othayoth  - Regex:           '^[<"](gtest|gmock)'
54*b618ccbaSJayanth Othayoth    Priority:        5
55*b618ccbaSJayanth Othayoth  - Regex:           '^"config.h"'
56*b618ccbaSJayanth Othayoth    Priority:        -1
57*b618ccbaSJayanth Othayoth  - Regex:           '^".*\.hpp"'
58*b618ccbaSJayanth Othayoth    Priority:        1
59*b618ccbaSJayanth Othayoth  - Regex:           '^<.*\.h>'
60*b618ccbaSJayanth Othayoth    Priority:        2
61*b618ccbaSJayanth Othayoth  - Regex:           '^<.*'
62*b618ccbaSJayanth Othayoth    Priority:        3
63*b618ccbaSJayanth Othayoth  - Regex:           '.*'
64*b618ccbaSJayanth Othayoth    Priority:        4
65*b618ccbaSJayanth OthayothIndentCaseLabels: true
66*b618ccbaSJayanth OthayothIndentWidth:     4
67*b618ccbaSJayanth OthayothIndentWrappedFunctionNames: true
68*b618ccbaSJayanth OthayothKeepEmptyLinesAtTheStartOfBlocks: true
69*b618ccbaSJayanth OthayothMacroBlockBegin: ''
70*b618ccbaSJayanth OthayothMacroBlockEnd:   ''
71*b618ccbaSJayanth OthayothMaxEmptyLinesToKeep: 1
72*b618ccbaSJayanth OthayothNamespaceIndentation: None
73*b618ccbaSJayanth OthayothObjCBlockIndentWidth: 2
74*b618ccbaSJayanth OthayothObjCSpaceAfterProperty: false
75*b618ccbaSJayanth OthayothObjCSpaceBeforeProtocolList: true
76*b618ccbaSJayanth OthayothPenaltyBreakBeforeFirstCallParameter: 19
77*b618ccbaSJayanth OthayothPenaltyBreakComment: 300
78*b618ccbaSJayanth OthayothPenaltyBreakFirstLessLess: 120
79*b618ccbaSJayanth OthayothPenaltyBreakString: 1000
80*b618ccbaSJayanth OthayothPenaltyExcessCharacter: 1000000
81*b618ccbaSJayanth OthayothPenaltyReturnTypeOnItsOwnLine: 60
82*b618ccbaSJayanth OthayothReflowComments:  true
83*b618ccbaSJayanth OthayothSortIncludes:    true
84*b618ccbaSJayanth OthayothSortUsingDeclarations: true
85*b618ccbaSJayanth OthayothSpaceAfterCStyleCast: false
86*b618ccbaSJayanth OthayothSpaceBeforeAssignmentOperators: true
87*b618ccbaSJayanth OthayothSpaceBeforeParens: ControlStatements
88*b618ccbaSJayanth OthayothSpaceInEmptyParentheses: false
89*b618ccbaSJayanth OthayothSpacesBeforeTrailingComments: 1
90*b618ccbaSJayanth OthayothSpacesInAngles:  false
91*b618ccbaSJayanth OthayothSpacesInContainerLiterals: true
92*b618ccbaSJayanth OthayothSpacesInCStyleCastParentheses: false
93*b618ccbaSJayanth OthayothSpacesInParentheses: false
94*b618ccbaSJayanth OthayothSpacesInSquareBrackets: false
95*b618ccbaSJayanth OthayothStandard:        Cpp11
96*b618ccbaSJayanth OthayothTabWidth:        4
97*b618ccbaSJayanth OthayothUseTab:          Never
98*b618ccbaSJayanth Othayoth...
99*b618ccbaSJayanth Othayoth
100