xref: /openbmc/libbej/.clang-format (revision 435526a5)
18bc8ba8eSkasunath---
28bc8ba8eSkasunathLanguage:        Cpp
38bc8ba8eSkasunath# BasedOnStyle:  LLVM
48bc8ba8eSkasunathAccessModifierOffset: -2
58bc8ba8eSkasunathAlignAfterOpenBracket: Align
68bc8ba8eSkasunathAlignConsecutiveAssignments: false
78bc8ba8eSkasunathAlignConsecutiveDeclarations: false
88bc8ba8eSkasunathAlignEscapedNewlines: Right
9*435526a5SPatrick WilliamsAlignOperands:  Align
10*435526a5SPatrick WilliamsAlignTrailingComments:
11*435526a5SPatrick Williams  Kind: Always
12*435526a5SPatrick Williams  OverEmptyLines: 1
138bc8ba8eSkasunathAllowAllParametersOfDeclarationOnNextLine: true
14*435526a5SPatrick WilliamsAllowShortBlocksOnASingleLine: Empty
158bc8ba8eSkasunathAllowShortCaseLabelsOnASingleLine: false
16*435526a5SPatrick WilliamsAllowShortFunctionsOnASingleLine: Empty
178bc8ba8eSkasunathAllowShortIfStatementsOnASingleLine: false
188bc8ba8eSkasunathAllowShortLoopsOnASingleLine: false
198bc8ba8eSkasunathAlwaysBreakAfterReturnType: None
208bc8ba8eSkasunathAlwaysBreakBeforeMultilineStrings: false
218bc8ba8eSkasunathAlwaysBreakTemplateDeclarations: Yes
228bc8ba8eSkasunathBinPackArguments: true
238bc8ba8eSkasunathBinPackParameters: true
248bc8ba8eSkasunathBraceWrapping:
258bc8ba8eSkasunath  AfterCaseLabel:  true
268bc8ba8eSkasunath  AfterClass:      true
278bc8ba8eSkasunath  AfterControlStatement: true
288bc8ba8eSkasunath  AfterEnum:       true
298bc8ba8eSkasunath  AfterFunction:   true
308bc8ba8eSkasunath  AfterNamespace:  true
318bc8ba8eSkasunath  AfterObjCDeclaration: true
328bc8ba8eSkasunath  AfterStruct:     true
338bc8ba8eSkasunath  AfterUnion:      true
348bc8ba8eSkasunath  AfterExternBlock: true
358bc8ba8eSkasunath  BeforeCatch:     true
368bc8ba8eSkasunath  BeforeElse:      true
378bc8ba8eSkasunath  IndentBraces:    false
388bc8ba8eSkasunath  SplitEmptyFunction:   false
398bc8ba8eSkasunath  SplitEmptyRecord:     false
408bc8ba8eSkasunath  SplitEmptyNamespace:  false
41*435526a5SPatrick WilliamsBreakAfterAttributes: Never
428bc8ba8eSkasunathBreakBeforeBinaryOperators: None
438bc8ba8eSkasunathBreakBeforeBraces: Custom
448bc8ba8eSkasunathBreakBeforeTernaryOperators: true
458bc8ba8eSkasunathBreakConstructorInitializers: AfterColon
468bc8ba8eSkasunathBreakInheritanceList: AfterColon
47*435526a5SPatrick WilliamsBreakStringLiterals: false
488bc8ba8eSkasunathColumnLimit:     80
498bc8ba8eSkasunathCommentPragmas:  '^ IWYU pragma:'
508bc8ba8eSkasunathCompactNamespaces: false
518bc8ba8eSkasunathConstructorInitializerAllOnOneLineOrOnePerLine: false
528bc8ba8eSkasunathConstructorInitializerIndentWidth: 4
538bc8ba8eSkasunathContinuationIndentWidth: 4
548bc8ba8eSkasunathCpp11BracedListStyle: true
55*435526a5SPatrick WilliamsDeriveLineEnding: false
568bc8ba8eSkasunathDerivePointerAlignment: false
578bc8ba8eSkasunathPointerAlignment: Left
588bc8ba8eSkasunathDisableFormat:   false
598bc8ba8eSkasunathExperimentalAutoDetectBinPacking: false
608bc8ba8eSkasunathFixNamespaceComments: true
618bc8ba8eSkasunathForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
628bc8ba8eSkasunathIncludeBlocks: Regroup
638bc8ba8eSkasunathIncludeCategories:
648bc8ba8eSkasunath  - Regex:           '^[<"](gtest|gmock)'
658bc8ba8eSkasunath    Priority:        7
668bc8ba8eSkasunath  - Regex:           '^"config.h"'
678bc8ba8eSkasunath    Priority:        -1
688bc8ba8eSkasunath  - Regex:           '^".*\.h"'
698bc8ba8eSkasunath    Priority:        1
708bc8ba8eSkasunath  - Regex:           '^".*\.hpp"'
718bc8ba8eSkasunath    Priority:        2
728bc8ba8eSkasunath  - Regex:           '^<.*\.h>'
738bc8ba8eSkasunath    Priority:        3
748bc8ba8eSkasunath  - Regex:           '^<.*\.hpp>'
758bc8ba8eSkasunath    Priority:        4
768bc8ba8eSkasunath  - Regex:           '^<.*'
778bc8ba8eSkasunath    Priority:        5
788bc8ba8eSkasunath  - Regex:           '.*'
798bc8ba8eSkasunath    Priority:        6
808bc8ba8eSkasunathIndentCaseLabels: true
81*435526a5SPatrick WilliamsIndentRequiresClause: true
828bc8ba8eSkasunathIndentWidth:     4
838bc8ba8eSkasunathIndentWrappedFunctionNames: true
84*435526a5SPatrick WilliamsInsertNewlineAtEOF: true
85*435526a5SPatrick WilliamsKeepEmptyLinesAtTheStartOfBlocks: false
86*435526a5SPatrick WilliamsLambdaBodyIndentation: OuterScope
87*435526a5SPatrick WilliamsLineEnding: LF
888bc8ba8eSkasunathMacroBlockBegin: ''
898bc8ba8eSkasunathMacroBlockEnd:   ''
908bc8ba8eSkasunathMaxEmptyLinesToKeep: 1
918bc8ba8eSkasunathNamespaceIndentation: None
928bc8ba8eSkasunathObjCBlockIndentWidth: 2
938bc8ba8eSkasunathObjCSpaceAfterProperty: false
948bc8ba8eSkasunathObjCSpaceBeforeProtocolList: true
95*435526a5SPatrick WilliamsPenaltyBreakAssignment: 25
968bc8ba8eSkasunathPenaltyBreakBeforeFirstCallParameter: 19
978bc8ba8eSkasunathPenaltyBreakComment: 300
988bc8ba8eSkasunathPenaltyBreakFirstLessLess: 120
998bc8ba8eSkasunathPenaltyBreakString: 1000
1008bc8ba8eSkasunathPenaltyExcessCharacter: 1000000
1018bc8ba8eSkasunathPenaltyReturnTypeOnItsOwnLine: 60
102*435526a5SPatrick WilliamsPenaltyIndentedWhitespace: 0
103*435526a5SPatrick WilliamsQualifierAlignment: Left
104*435526a5SPatrick WilliamsReferenceAlignment: Left
1058bc8ba8eSkasunathReflowComments:  true
106*435526a5SPatrick WilliamsRequiresClausePosition: OwnLine
107*435526a5SPatrick WilliamsRequiresExpressionIndentation: Keyword
1088bc8ba8eSkasunathSortIncludes:    true
1098bc8ba8eSkasunathSortUsingDeclarations: true
1108bc8ba8eSkasunathSpaceAfterCStyleCast: false
1118bc8ba8eSkasunathSpaceAfterTemplateKeyword: true
1128bc8ba8eSkasunathSpaceBeforeAssignmentOperators: true
1138bc8ba8eSkasunathSpaceBeforeCpp11BracedList: false
1148bc8ba8eSkasunathSpaceBeforeCtorInitializerColon: true
1158bc8ba8eSkasunathSpaceBeforeInheritanceColon: true
1168bc8ba8eSkasunathSpaceBeforeParens: ControlStatements
1178bc8ba8eSkasunathSpaceBeforeRangeBasedForLoopColon: true
1188bc8ba8eSkasunathSpaceInEmptyParentheses: false
1198bc8ba8eSkasunathSpacesBeforeTrailingComments: 1
1208bc8ba8eSkasunathSpacesInAngles:  false
1218bc8ba8eSkasunathSpacesInContainerLiterals: true
1228bc8ba8eSkasunathSpacesInCStyleCastParentheses: false
1238bc8ba8eSkasunathSpacesInParentheses: false
1248bc8ba8eSkasunathSpacesInSquareBrackets: false
1258bc8ba8eSkasunathStandard:        Latest
1268bc8ba8eSkasunathTabWidth:        4
1278bc8ba8eSkasunathUseTab:          Never
1288bc8ba8eSkasunath...
1298bc8ba8eSkasunath
130