xref: /openbmc/phosphor-ipmi-flash/.clang-format (revision 1038836c25abccea9f7ba71b97f7a12938132ba4)
15a4f6550SPatrick Venture---
25a4f6550SPatrick VentureLanguage:        Cpp
35a4f6550SPatrick Venture# BasedOnStyle:  LLVM
45a4f6550SPatrick VentureAccessModifierOffset: -2
55a4f6550SPatrick VentureAlignAfterOpenBracket: Align
65a4f6550SPatrick VentureAlignConsecutiveAssignments: false
75a4f6550SPatrick VentureAlignConsecutiveDeclarations: false
89b37b095SPatrick VentureAlignEscapedNewlines: Right
9*1038836cSPatrick WilliamsAlignOperands:  Align
10*1038836cSPatrick WilliamsAlignTrailingComments:
11*1038836cSPatrick Williams  Kind: Always
12*1038836cSPatrick Williams  OverEmptyLines: 1
135a4f6550SPatrick VentureAllowAllParametersOfDeclarationOnNextLine: true
14*1038836cSPatrick WilliamsAllowShortBlocksOnASingleLine: Empty
155a4f6550SPatrick VentureAllowShortCaseLabelsOnASingleLine: false
16*1038836cSPatrick WilliamsAllowShortFunctionsOnASingleLine: Empty
175a4f6550SPatrick VentureAllowShortIfStatementsOnASingleLine: false
185a4f6550SPatrick VentureAllowShortLoopsOnASingleLine: false
195a4f6550SPatrick VentureAlwaysBreakAfterReturnType: None
205a4f6550SPatrick VentureAlwaysBreakBeforeMultilineStrings: false
219b37b095SPatrick VentureAlwaysBreakTemplateDeclarations: Yes
225a4f6550SPatrick VentureBinPackArguments: true
235a4f6550SPatrick VentureBinPackParameters: true
245a4f6550SPatrick VentureBraceWrapping:
259b37b095SPatrick Venture  AfterCaseLabel:  true
265a4f6550SPatrick Venture  AfterClass:      true
275a4f6550SPatrick Venture  AfterControlStatement: true
285a4f6550SPatrick Venture  AfterEnum:       true
295a4f6550SPatrick Venture  AfterFunction:   true
305a4f6550SPatrick Venture  AfterNamespace:  true
315a4f6550SPatrick Venture  AfterObjCDeclaration: true
325a4f6550SPatrick Venture  AfterStruct:     true
335a4f6550SPatrick Venture  AfterUnion:      true
349b37b095SPatrick Venture  AfterExternBlock: true
355a4f6550SPatrick Venture  BeforeCatch:     true
365a4f6550SPatrick Venture  BeforeElse:      true
375a4f6550SPatrick Venture  IndentBraces:    false
389b37b095SPatrick Venture  SplitEmptyFunction:   false
399b37b095SPatrick Venture  SplitEmptyRecord:     false
409b37b095SPatrick Venture  SplitEmptyNamespace:  false
41*1038836cSPatrick WilliamsBreakAfterAttributes: Never
425a4f6550SPatrick VentureBreakBeforeBinaryOperators: None
435a4f6550SPatrick VentureBreakBeforeBraces: Custom
445a4f6550SPatrick VentureBreakBeforeTernaryOperators: true
455a4f6550SPatrick VentureBreakConstructorInitializers: AfterColon
469b37b095SPatrick VentureBreakInheritanceList: AfterColon
47*1038836cSPatrick WilliamsBreakStringLiterals: false
485a4f6550SPatrick VentureColumnLimit:     80
495a4f6550SPatrick VentureCommentPragmas:  '^ IWYU pragma:'
509b37b095SPatrick VentureCompactNamespaces: false
515a4f6550SPatrick VentureConstructorInitializerAllOnOneLineOrOnePerLine: false
525a4f6550SPatrick VentureConstructorInitializerIndentWidth: 4
535a4f6550SPatrick VentureContinuationIndentWidth: 4
545a4f6550SPatrick VentureCpp11BracedListStyle: true
55*1038836cSPatrick WilliamsDeriveLineEnding: false
565a4f6550SPatrick VentureDerivePointerAlignment: false
575a4f6550SPatrick VenturePointerAlignment: Left
585a4f6550SPatrick VentureDisableFormat:   false
595a4f6550SPatrick VentureExperimentalAutoDetectBinPacking: false
605a4f6550SPatrick VentureFixNamespaceComments: true
615a4f6550SPatrick VentureForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
625a4f6550SPatrick VentureIncludeBlocks: Regroup
635a4f6550SPatrick VentureIncludeCategories:
645a4f6550SPatrick Venture  - Regex:           '^[<"](gtest|gmock)'
659b37b095SPatrick Venture    Priority:        7
665a4f6550SPatrick Venture  - Regex:           '^"config.h"'
675a4f6550SPatrick Venture    Priority:        -1
689b37b095SPatrick Venture  - Regex:           '^".*\.h"'
695a4f6550SPatrick Venture    Priority:        1
709b37b095SPatrick Venture  - Regex:           '^".*\.hpp"'
715a4f6550SPatrick Venture    Priority:        2
729b37b095SPatrick Venture  - Regex:           '^<.*\.h>'
735a4f6550SPatrick Venture    Priority:        3
749b37b095SPatrick Venture  - Regex:           '^<.*\.hpp>'
755a4f6550SPatrick Venture    Priority:        4
769b37b095SPatrick Venture  - Regex:           '^<.*'
779b37b095SPatrick Venture    Priority:        5
789b37b095SPatrick Venture  - Regex:           '.*'
799b37b095SPatrick Venture    Priority:        6
805a4f6550SPatrick VentureIndentCaseLabels: true
81*1038836cSPatrick WilliamsIndentRequiresClause: true
825a4f6550SPatrick VentureIndentWidth:     4
835a4f6550SPatrick VentureIndentWrappedFunctionNames: true
84*1038836cSPatrick WilliamsInsertNewlineAtEOF: true
85*1038836cSPatrick WilliamsKeepEmptyLinesAtTheStartOfBlocks: false
86*1038836cSPatrick WilliamsLambdaBodyIndentation: OuterScope
87*1038836cSPatrick WilliamsLineEnding: LF
885a4f6550SPatrick VentureMacroBlockBegin: ''
895a4f6550SPatrick VentureMacroBlockEnd:   ''
905a4f6550SPatrick VentureMaxEmptyLinesToKeep: 1
915a4f6550SPatrick VentureNamespaceIndentation: None
925a4f6550SPatrick VentureObjCBlockIndentWidth: 2
935a4f6550SPatrick VentureObjCSpaceAfterProperty: false
945a4f6550SPatrick VentureObjCSpaceBeforeProtocolList: true
95*1038836cSPatrick WilliamsPenaltyBreakAssignment: 25
965a4f6550SPatrick VenturePenaltyBreakBeforeFirstCallParameter: 19
975a4f6550SPatrick VenturePenaltyBreakComment: 300
985a4f6550SPatrick VenturePenaltyBreakFirstLessLess: 120
995a4f6550SPatrick VenturePenaltyBreakString: 1000
1005a4f6550SPatrick VenturePenaltyExcessCharacter: 1000000
1015a4f6550SPatrick VenturePenaltyReturnTypeOnItsOwnLine: 60
102*1038836cSPatrick WilliamsPenaltyIndentedWhitespace: 0
103*1038836cSPatrick WilliamsQualifierAlignment: Left
104*1038836cSPatrick WilliamsReferenceAlignment: Left
1055a4f6550SPatrick VentureReflowComments:  true
106*1038836cSPatrick WilliamsRequiresClausePosition: OwnLine
107*1038836cSPatrick WilliamsRequiresExpressionIndentation: Keyword
1085a4f6550SPatrick VentureSortIncludes:    true
1095a4f6550SPatrick VentureSortUsingDeclarations: true
1105a4f6550SPatrick VentureSpaceAfterCStyleCast: false
1119b37b095SPatrick VentureSpaceAfterTemplateKeyword: true
1125a4f6550SPatrick VentureSpaceBeforeAssignmentOperators: true
1139b37b095SPatrick VentureSpaceBeforeCpp11BracedList: false
1149b37b095SPatrick VentureSpaceBeforeCtorInitializerColon: true
1159b37b095SPatrick VentureSpaceBeforeInheritanceColon: true
1165a4f6550SPatrick VentureSpaceBeforeParens: ControlStatements
1179b37b095SPatrick VentureSpaceBeforeRangeBasedForLoopColon: true
1185a4f6550SPatrick VentureSpaceInEmptyParentheses: false
1195a4f6550SPatrick VentureSpacesBeforeTrailingComments: 1
1205a4f6550SPatrick VentureSpacesInAngles:  false
1215a4f6550SPatrick VentureSpacesInContainerLiterals: true
1225a4f6550SPatrick VentureSpacesInCStyleCastParentheses: false
1235a4f6550SPatrick VentureSpacesInParentheses: false
1245a4f6550SPatrick VentureSpacesInSquareBrackets: false
125*1038836cSPatrick WilliamsStandard:        Latest
1265a4f6550SPatrick VentureTabWidth:        4
1275a4f6550SPatrick VentureUseTab:          Never
1285a4f6550SPatrick Venture...
1295a4f6550SPatrick Venture
130