xref: /openbmc/slpd-lite/.clang-format (revision 16424ed3)
1537ff140SPatrick Venture---
2537ff140SPatrick VentureLanguage:        Cpp
3537ff140SPatrick Venture# BasedOnStyle:  LLVM
4537ff140SPatrick VentureAccessModifierOffset: -2
5537ff140SPatrick VentureAlignAfterOpenBracket: Align
6537ff140SPatrick VentureAlignConsecutiveAssignments: false
7537ff140SPatrick VentureAlignConsecutiveDeclarations: false
8ee12f48fSManojkiran EdaAlignEscapedNewlines: Right
9aa902c6eSPatrick WilliamsAlignOperands:  Align
10*16424ed3SPatrick WilliamsAlignTrailingComments:
11*16424ed3SPatrick Williams  Kind: Always
12*16424ed3SPatrick Williams  OverEmptyLines: 1
13537ff140SPatrick VentureAllowAllParametersOfDeclarationOnNextLine: true
14aa902c6eSPatrick WilliamsAllowShortBlocksOnASingleLine: Empty
15537ff140SPatrick VentureAllowShortCaseLabelsOnASingleLine: false
16aa902c6eSPatrick WilliamsAllowShortFunctionsOnASingleLine: Empty
17537ff140SPatrick VentureAllowShortIfStatementsOnASingleLine: false
18537ff140SPatrick VentureAllowShortLoopsOnASingleLine: false
19537ff140SPatrick VentureAlwaysBreakAfterReturnType: None
20537ff140SPatrick VentureAlwaysBreakBeforeMultilineStrings: false
21ee12f48fSManojkiran EdaAlwaysBreakTemplateDeclarations: Yes
22537ff140SPatrick VentureBinPackArguments: true
23537ff140SPatrick VentureBinPackParameters: true
24537ff140SPatrick VentureBraceWrapping:
25ee12f48fSManojkiran Eda  AfterCaseLabel:  true
26537ff140SPatrick Venture  AfterClass:      true
27537ff140SPatrick Venture  AfterControlStatement: true
28537ff140SPatrick Venture  AfterEnum:       true
29537ff140SPatrick Venture  AfterFunction:   true
30537ff140SPatrick Venture  AfterNamespace:  true
31537ff140SPatrick Venture  AfterObjCDeclaration: true
32537ff140SPatrick Venture  AfterStruct:     true
33537ff140SPatrick Venture  AfterUnion:      true
34ee12f48fSManojkiran Eda  AfterExternBlock: true
35537ff140SPatrick Venture  BeforeCatch:     true
36537ff140SPatrick Venture  BeforeElse:      true
37537ff140SPatrick Venture  IndentBraces:    false
38ee12f48fSManojkiran Eda  SplitEmptyFunction:   false
39ee12f48fSManojkiran Eda  SplitEmptyRecord:     false
40ee12f48fSManojkiran Eda  SplitEmptyNamespace:  false
41*16424ed3SPatrick WilliamsBreakAfterAttributes: Never
42537ff140SPatrick VentureBreakBeforeBinaryOperators: None
43537ff140SPatrick VentureBreakBeforeBraces: Custom
44537ff140SPatrick VentureBreakBeforeTernaryOperators: true
45537ff140SPatrick VentureBreakConstructorInitializers: AfterColon
46ee12f48fSManojkiran EdaBreakInheritanceList: AfterColon
47ee12f48fSManojkiran EdaBreakStringLiterals: false
48537ff140SPatrick VentureColumnLimit:     80
49537ff140SPatrick VentureCommentPragmas:  '^ IWYU pragma:'
50ee12f48fSManojkiran EdaCompactNamespaces: false
51537ff140SPatrick VentureConstructorInitializerAllOnOneLineOrOnePerLine: false
52537ff140SPatrick VentureConstructorInitializerIndentWidth: 4
53537ff140SPatrick VentureContinuationIndentWidth: 4
54537ff140SPatrick VentureCpp11BracedListStyle: true
55aa902c6eSPatrick WilliamsDeriveLineEnding: false
56537ff140SPatrick VentureDerivePointerAlignment: false
57537ff140SPatrick VenturePointerAlignment: Left
58537ff140SPatrick VentureDisableFormat:   false
59537ff140SPatrick VentureExperimentalAutoDetectBinPacking: false
60537ff140SPatrick VentureFixNamespaceComments: true
61537ff140SPatrick VentureForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
62537ff140SPatrick VentureIncludeBlocks: Regroup
63537ff140SPatrick VentureIncludeCategories:
64537ff140SPatrick Venture  - Regex:           '^[<"](gtest|gmock)'
65ee12f48fSManojkiran Eda    Priority:        7
66537ff140SPatrick Venture  - Regex:           '^"config.h"'
67537ff140SPatrick Venture    Priority:        -1
68ee12f48fSManojkiran Eda  - Regex:           '^".*\.h"'
69537ff140SPatrick Venture    Priority:        1
70ee12f48fSManojkiran Eda  - Regex:           '^".*\.hpp"'
71537ff140SPatrick Venture    Priority:        2
72ee12f48fSManojkiran Eda  - Regex:           '^<.*\.h>'
73537ff140SPatrick Venture    Priority:        3
74ee12f48fSManojkiran Eda  - Regex:           '^<.*\.hpp>'
75537ff140SPatrick Venture    Priority:        4
76ee12f48fSManojkiran Eda  - Regex:           '^<.*'
77ee12f48fSManojkiran Eda    Priority:        5
78ee12f48fSManojkiran Eda  - Regex:           '.*'
79ee12f48fSManojkiran Eda    Priority:        6
80537ff140SPatrick VentureIndentCaseLabels: true
81aa902c6eSPatrick WilliamsIndentRequiresClause: true
82537ff140SPatrick VentureIndentWidth:     4
83537ff140SPatrick VentureIndentWrappedFunctionNames: true
84*16424ed3SPatrick WilliamsInsertNewlineAtEOF: true
85aa902c6eSPatrick WilliamsKeepEmptyLinesAtTheStartOfBlocks: false
86aa902c6eSPatrick WilliamsLambdaBodyIndentation: OuterScope
87*16424ed3SPatrick WilliamsLineEnding: LF
88537ff140SPatrick VentureMacroBlockBegin: ''
89537ff140SPatrick VentureMacroBlockEnd:   ''
90537ff140SPatrick VentureMaxEmptyLinesToKeep: 1
91537ff140SPatrick VentureNamespaceIndentation: None
92537ff140SPatrick VentureObjCBlockIndentWidth: 2
93537ff140SPatrick VentureObjCSpaceAfterProperty: false
94537ff140SPatrick VentureObjCSpaceBeforeProtocolList: true
95aa902c6eSPatrick WilliamsPenaltyBreakAssignment: 25
96537ff140SPatrick VenturePenaltyBreakBeforeFirstCallParameter: 19
97537ff140SPatrick VenturePenaltyBreakComment: 300
98537ff140SPatrick VenturePenaltyBreakFirstLessLess: 120
99537ff140SPatrick VenturePenaltyBreakString: 1000
100537ff140SPatrick VenturePenaltyExcessCharacter: 1000000
101537ff140SPatrick VenturePenaltyReturnTypeOnItsOwnLine: 60
102aa902c6eSPatrick WilliamsPenaltyIndentedWhitespace: 0
103aa902c6eSPatrick WilliamsQualifierAlignment: Left
104aa902c6eSPatrick WilliamsReferenceAlignment: Left
105537ff140SPatrick VentureReflowComments:  true
106aa902c6eSPatrick WilliamsRequiresClausePosition: OwnLine
107*16424ed3SPatrick WilliamsRequiresExpressionIndentation: Keyword
108537ff140SPatrick VentureSortIncludes:    true
109537ff140SPatrick VentureSortUsingDeclarations: true
110537ff140SPatrick VentureSpaceAfterCStyleCast: false
111ee12f48fSManojkiran EdaSpaceAfterTemplateKeyword: true
112537ff140SPatrick VentureSpaceBeforeAssignmentOperators: true
113ee12f48fSManojkiran EdaSpaceBeforeCpp11BracedList: false
114ee12f48fSManojkiran EdaSpaceBeforeCtorInitializerColon: true
115ee12f48fSManojkiran EdaSpaceBeforeInheritanceColon: true
116537ff140SPatrick VentureSpaceBeforeParens: ControlStatements
117ee12f48fSManojkiran EdaSpaceBeforeRangeBasedForLoopColon: true
118537ff140SPatrick VentureSpaceInEmptyParentheses: false
119537ff140SPatrick VentureSpacesBeforeTrailingComments: 1
120537ff140SPatrick VentureSpacesInAngles:  false
121537ff140SPatrick VentureSpacesInContainerLiterals: true
122537ff140SPatrick VentureSpacesInCStyleCastParentheses: false
123537ff140SPatrick VentureSpacesInParentheses: false
124537ff140SPatrick VentureSpacesInSquareBrackets: false
125ee12f48fSManojkiran EdaStandard:        Latest
126537ff140SPatrick VentureTabWidth:        4
127537ff140SPatrick VentureUseTab:          Never
128537ff140SPatrick Venture...
129537ff140SPatrick Venture
130