xref: /openbmc/s2600wf-misc/.clang-format (revision 2b973a52705e24c298427fec474da63586aa775a)
1*2b973a52SJason M. Bills---
2*2b973a52SJason M. BillsLanguage:        Cpp
3*2b973a52SJason M. Bills# BasedOnStyle:  LLVM
4*2b973a52SJason M. BillsAccessModifierOffset: -2
5*2b973a52SJason M. BillsAlignAfterOpenBracket: Align
6*2b973a52SJason M. BillsAlignConsecutiveAssignments: false
7*2b973a52SJason M. BillsAlignConsecutiveDeclarations: false
8*2b973a52SJason M. BillsAlignEscapedNewlines: Right
9*2b973a52SJason M. BillsAlignOperands:  Align
10*2b973a52SJason M. BillsAlignTrailingComments:
11*2b973a52SJason M. Bills  Kind: Always
12*2b973a52SJason M. Bills  OverEmptyLines: 1
13*2b973a52SJason M. BillsAllowAllParametersOfDeclarationOnNextLine: true
14*2b973a52SJason M. BillsAllowShortBlocksOnASingleLine: Empty
15*2b973a52SJason M. BillsAllowShortCaseLabelsOnASingleLine: false
16*2b973a52SJason M. BillsAllowShortFunctionsOnASingleLine: Empty
17*2b973a52SJason M. BillsAllowShortIfStatementsOnASingleLine: Never
18*2b973a52SJason M. BillsAllowShortLambdasOnASingleLine: true
19*2b973a52SJason M. BillsAllowShortLoopsOnASingleLine: false
20*2b973a52SJason M. BillsAlwaysBreakBeforeMultilineStrings: false
21*2b973a52SJason M. BillsBinPackArguments: true
22*2b973a52SJason M. BillsBinPackParameters: true
23*2b973a52SJason M. BillsBitFieldColonSpacing: None
24*2b973a52SJason M. BillsBraceWrapping:
25*2b973a52SJason M. Bills  AfterCaseLabel:  true
26*2b973a52SJason M. Bills  AfterClass:      true
27*2b973a52SJason M. Bills  AfterControlStatement: true
28*2b973a52SJason M. Bills  AfterEnum:       true
29*2b973a52SJason M. Bills  AfterExternBlock: true
30*2b973a52SJason M. Bills  AfterFunction:   true
31*2b973a52SJason M. Bills  AfterNamespace:  true
32*2b973a52SJason M. Bills  AfterObjCDeclaration: true
33*2b973a52SJason M. Bills  AfterStruct:     true
34*2b973a52SJason M. Bills  AfterUnion:      true
35*2b973a52SJason M. Bills  BeforeCatch:     true
36*2b973a52SJason M. Bills  BeforeElse:      true
37*2b973a52SJason M. Bills  BeforeLambdaBody: false
38*2b973a52SJason M. Bills  BeforeWhile:     false
39*2b973a52SJason M. Bills  IndentBraces:    false
40*2b973a52SJason M. Bills  SplitEmptyFunction:   false
41*2b973a52SJason M. Bills  SplitEmptyRecord:     false
42*2b973a52SJason M. Bills  SplitEmptyNamespace:  false
43*2b973a52SJason M. BillsBreakAfterAttributes: Never
44*2b973a52SJason M. BillsBreakAfterReturnType: Automatic
45*2b973a52SJason M. BillsBreakBeforeBinaryOperators: None
46*2b973a52SJason M. BillsBreakBeforeBraces: Custom
47*2b973a52SJason M. BillsBreakBeforeTernaryOperators: true
48*2b973a52SJason M. BillsBreakConstructorInitializers: AfterColon
49*2b973a52SJason M. BillsBreakInheritanceList: AfterColon
50*2b973a52SJason M. BillsBreakStringLiterals: false
51*2b973a52SJason M. BillsBreakTemplateDeclarations: Yes
52*2b973a52SJason M. BillsColumnLimit:     80
53*2b973a52SJason M. BillsCommentPragmas:  '^ IWYU pragma:'
54*2b973a52SJason M. BillsCompactNamespaces: false
55*2b973a52SJason M. BillsConstructorInitializerIndentWidth: 4
56*2b973a52SJason M. BillsContinuationIndentWidth: 4
57*2b973a52SJason M. BillsCpp11BracedListStyle: true
58*2b973a52SJason M. BillsDerivePointerAlignment: false
59*2b973a52SJason M. BillsDisableFormat:   false
60*2b973a52SJason M. BillsFixNamespaceComments: true
61*2b973a52SJason M. BillsForEachMacros:
62*2b973a52SJason M. Bills  - foreach
63*2b973a52SJason M. Bills  - Q_FOREACH
64*2b973a52SJason M. Bills  - BOOST_FOREACH
65*2b973a52SJason M. BillsIncludeBlocks: Regroup
66*2b973a52SJason M. BillsIncludeCategories:
67*2b973a52SJason M. Bills  - Regex:           '^[<"](gtest|gmock)'
68*2b973a52SJason M. Bills    Priority:        7
69*2b973a52SJason M. Bills  - Regex:           '^"config.h"'
70*2b973a52SJason M. Bills    Priority:        -1
71*2b973a52SJason M. Bills  - Regex:           '^".*\.h"'
72*2b973a52SJason M. Bills    Priority:        1
73*2b973a52SJason M. Bills  - Regex:           '^".*\.hpp"'
74*2b973a52SJason M. Bills    Priority:        2
75*2b973a52SJason M. Bills  - Regex:           '^<.*\.h>'
76*2b973a52SJason M. Bills    Priority:        3
77*2b973a52SJason M. Bills  - Regex:           '^<.*\.hpp>'
78*2b973a52SJason M. Bills    Priority:        4
79*2b973a52SJason M. Bills  - Regex:           '^<.*'
80*2b973a52SJason M. Bills    Priority:        5
81*2b973a52SJason M. Bills  - Regex:           '.*'
82*2b973a52SJason M. Bills    Priority:        6
83*2b973a52SJason M. BillsIndentCaseLabels: true
84*2b973a52SJason M. BillsIndentExternBlock: NoIndent
85*2b973a52SJason M. BillsIndentRequiresClause: true
86*2b973a52SJason M. BillsIndentWidth:     4
87*2b973a52SJason M. BillsIndentWrappedFunctionNames: true
88*2b973a52SJason M. BillsInsertNewlineAtEOF: true
89*2b973a52SJason M. BillsKeepEmptyLinesAtTheStartOfBlocks: false
90*2b973a52SJason M. BillsLambdaBodyIndentation: Signature
91*2b973a52SJason M. BillsLineEnding: LF
92*2b973a52SJason M. BillsMacroBlockBegin: ''
93*2b973a52SJason M. BillsMacroBlockEnd:   ''
94*2b973a52SJason M. BillsMaxEmptyLinesToKeep: 1
95*2b973a52SJason M. BillsNamespaceIndentation: None
96*2b973a52SJason M. BillsObjCBlockIndentWidth: 2
97*2b973a52SJason M. BillsObjCSpaceAfterProperty: false
98*2b973a52SJason M. BillsObjCSpaceBeforeProtocolList: true
99*2b973a52SJason M. BillsPackConstructorInitializers: BinPack
100*2b973a52SJason M. BillsPenaltyBreakAssignment: 25
101*2b973a52SJason M. BillsPenaltyBreakBeforeFirstCallParameter: 50
102*2b973a52SJason M. BillsPenaltyBreakComment: 300
103*2b973a52SJason M. BillsPenaltyBreakFirstLessLess: 120
104*2b973a52SJason M. BillsPenaltyBreakString: 1000
105*2b973a52SJason M. BillsPenaltyBreakTemplateDeclaration: 10
106*2b973a52SJason M. BillsPenaltyExcessCharacter: 1000000
107*2b973a52SJason M. BillsPenaltyReturnTypeOnItsOwnLine: 150
108*2b973a52SJason M. BillsPenaltyIndentedWhitespace: 1
109*2b973a52SJason M. BillsPointerAlignment: Left
110*2b973a52SJason M. BillsQualifierAlignment: Left
111*2b973a52SJason M. BillsReferenceAlignment: Left
112*2b973a52SJason M. BillsReflowComments:  true
113*2b973a52SJason M. BillsRequiresClausePosition: OwnLine
114*2b973a52SJason M. BillsRequiresExpressionIndentation: Keyword
115*2b973a52SJason M. BillsSortIncludes: CaseSensitive
116*2b973a52SJason M. BillsSortUsingDeclarations: true
117*2b973a52SJason M. BillsSpaceAfterCStyleCast: false
118*2b973a52SJason M. BillsSpaceAfterTemplateKeyword: true
119*2b973a52SJason M. BillsSpaceBeforeAssignmentOperators: true
120*2b973a52SJason M. BillsSpaceBeforeCpp11BracedList: false
121*2b973a52SJason M. BillsSpaceBeforeCtorInitializerColon: true
122*2b973a52SJason M. BillsSpaceBeforeInheritanceColon: true
123*2b973a52SJason M. BillsSpaceBeforeParens: ControlStatements
124*2b973a52SJason M. BillsSpaceBeforeRangeBasedForLoopColon: true
125*2b973a52SJason M. BillsSpaceInEmptyParentheses: false
126*2b973a52SJason M. BillsSpacesBeforeTrailingComments: 1
127*2b973a52SJason M. BillsSpacesInAngles: Never
128*2b973a52SJason M. BillsSpacesInContainerLiterals: true
129*2b973a52SJason M. BillsSpacesInCStyleCastParentheses: false
130*2b973a52SJason M. BillsSpacesInParentheses: false
131*2b973a52SJason M. BillsSpacesInSquareBrackets: false
132*2b973a52SJason M. BillsStandard:        Latest
133*2b973a52SJason M. BillsTabWidth:        4
134*2b973a52SJason M. BillsUseTab:          Never
135*2b973a52SJason M. Bills...
136*2b973a52SJason M. Bills
137