1*d1d05ee6SAndrew Jeffery# SPDX-License-Identifier: GPL-2.0 2*d1d05ee6SAndrew Jeffery# 3*d1d05ee6SAndrew Jeffery# Originally from Linux v5.6 4*d1d05ee6SAndrew Jeffery--- 5*d1d05ee6SAndrew JefferyAccessModifierOffset: -4 6*d1d05ee6SAndrew JefferyAlignAfterOpenBracket: Align 7*d1d05ee6SAndrew JefferyAlignConsecutiveMacros: true 8*d1d05ee6SAndrew JefferyAlignConsecutiveAssignments: false 9*d1d05ee6SAndrew JefferyAlignConsecutiveDeclarations: false 10*d1d05ee6SAndrew Jeffery#AlignEscapedNewlines: Left # Unknown to clang-format-4.0 11*d1d05ee6SAndrew JefferyAlignOperands: Align 12*d1d05ee6SAndrew JefferyAlignTrailingComments: 13*d1d05ee6SAndrew Jeffery Kind: Always 14*d1d05ee6SAndrew Jeffery OverEmptyLines: 1 15*d1d05ee6SAndrew JefferyAllowAllParametersOfDeclarationOnNextLine: false 16*d1d05ee6SAndrew JefferyAllowShortBlocksOnASingleLine: false 17*d1d05ee6SAndrew JefferyAllowShortCaseLabelsOnASingleLine: false 18*d1d05ee6SAndrew JefferyAllowShortFunctionsOnASingleLine: None 19*d1d05ee6SAndrew JefferyAllowShortIfStatementsOnASingleLine: false 20*d1d05ee6SAndrew JefferyAllowShortLoopsOnASingleLine: false 21*d1d05ee6SAndrew JefferyAlwaysBreakAfterDefinitionReturnType: None 22*d1d05ee6SAndrew JefferyAlwaysBreakAfterReturnType: None 23*d1d05ee6SAndrew JefferyAlwaysBreakBeforeMultilineStrings: false 24*d1d05ee6SAndrew JefferyAlwaysBreakTemplateDeclarations: false 25*d1d05ee6SAndrew JefferyBinPackArguments: true 26*d1d05ee6SAndrew JefferyBinPackParameters: true 27*d1d05ee6SAndrew JefferyBraceWrapping: 28*d1d05ee6SAndrew Jeffery AfterClass: false 29*d1d05ee6SAndrew Jeffery AfterControlStatement: false 30*d1d05ee6SAndrew Jeffery AfterEnum: false 31*d1d05ee6SAndrew Jeffery AfterFunction: true 32*d1d05ee6SAndrew Jeffery AfterNamespace: true 33*d1d05ee6SAndrew Jeffery AfterObjCDeclaration: false 34*d1d05ee6SAndrew Jeffery AfterStruct: false 35*d1d05ee6SAndrew Jeffery AfterUnion: false 36*d1d05ee6SAndrew Jeffery #AfterExternBlock: false # Unknown to clang-format-5.0 37*d1d05ee6SAndrew Jeffery BeforeCatch: false 38*d1d05ee6SAndrew Jeffery BeforeElse: false 39*d1d05ee6SAndrew Jeffery IndentBraces: false 40*d1d05ee6SAndrew Jeffery #SplitEmptyFunction: true # Unknown to clang-format-4.0 41*d1d05ee6SAndrew Jeffery #SplitEmptyRecord: true # Unknown to clang-format-4.0 42*d1d05ee6SAndrew Jeffery #SplitEmptyNamespace: true # Unknown to clang-format-4.0 43*d1d05ee6SAndrew JefferyBreakAfterAttributes: Never 44*d1d05ee6SAndrew JefferyBreakBeforeBinaryOperators: None 45*d1d05ee6SAndrew JefferyBreakBeforeBraces: Custom 46*d1d05ee6SAndrew Jeffery#BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0 47*d1d05ee6SAndrew JefferyBreakBeforeTernaryOperators: false 48*d1d05ee6SAndrew JefferyBreakConstructorInitializersBeforeComma: false 49*d1d05ee6SAndrew Jeffery#BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0 50*d1d05ee6SAndrew JefferyBreakAfterJavaFieldAnnotations: false 51*d1d05ee6SAndrew JefferyBreakStringLiterals: false 52*d1d05ee6SAndrew JefferyColumnLimit: 80 53*d1d05ee6SAndrew JefferyCommentPragmas: '^ IWYU pragma:' 54*d1d05ee6SAndrew Jeffery#CompactNamespaces: false # Unknown to clang-format-4.0 55*d1d05ee6SAndrew JefferyConstructorInitializerAllOnOneLineOrOnePerLine: false 56*d1d05ee6SAndrew JefferyConstructorInitializerIndentWidth: 8 57*d1d05ee6SAndrew JefferyContinuationIndentWidth: 8 58*d1d05ee6SAndrew JefferyCpp11BracedListStyle: false 59*d1d05ee6SAndrew JefferyDeriveLineEnding: false 60*d1d05ee6SAndrew JefferyDerivePointerAlignment: false 61*d1d05ee6SAndrew JefferyDisableFormat: false 62*d1d05ee6SAndrew JefferyExperimentalAutoDetectBinPacking: false 63*d1d05ee6SAndrew Jeffery#FixNamespaceComments: false # Unknown to clang-format-4.0 64*d1d05ee6SAndrew Jeffery#IncludeBlocks: Preserve # Unknown to clang-format-5.0 65*d1d05ee6SAndrew JefferyIncludeCategories: 66*d1d05ee6SAndrew Jeffery - Regex: '.*' 67*d1d05ee6SAndrew Jeffery Priority: 1 68*d1d05ee6SAndrew JefferyIncludeIsMainRegex: '(Test)?$' 69*d1d05ee6SAndrew JefferyIndentCaseLabels: false 70*d1d05ee6SAndrew Jeffery#IndentPPDirectives: None # Unknown to clang-format-5.0 71*d1d05ee6SAndrew JefferyIndentWidth: 8 72*d1d05ee6SAndrew JefferyIndentWrappedFunctionNames: false 73*d1d05ee6SAndrew JefferyInsertNewlineAtEOF: true 74*d1d05ee6SAndrew JefferyJavaScriptQuotes: Leave 75*d1d05ee6SAndrew JefferyJavaScriptWrapImports: true 76*d1d05ee6SAndrew JefferyKeepEmptyLinesAtTheStartOfBlocks: false 77*d1d05ee6SAndrew JefferyLineEnding: LF 78*d1d05ee6SAndrew JefferyMacroBlockBegin: '' 79*d1d05ee6SAndrew JefferyMacroBlockEnd: '' 80*d1d05ee6SAndrew JefferyMaxEmptyLinesToKeep: 1 81*d1d05ee6SAndrew JefferyNamespaceIndentation: Inner 82*d1d05ee6SAndrew Jeffery#ObjCBinPackProtocolList: Auto # Unknown to clang-format-5.0 83*d1d05ee6SAndrew JefferyObjCBlockIndentWidth: 8 84*d1d05ee6SAndrew JefferyObjCSpaceAfterProperty: true 85*d1d05ee6SAndrew JefferyObjCSpaceBeforeProtocolList: true 86*d1d05ee6SAndrew Jeffery 87*d1d05ee6SAndrew Jeffery# Taken from git's rules 88*d1d05ee6SAndrew JefferyPenaltyBreakAssignment: 10 89*d1d05ee6SAndrew JefferyPenaltyBreakBeforeFirstCallParameter: 30 90*d1d05ee6SAndrew JefferyPenaltyBreakComment: 10 91*d1d05ee6SAndrew JefferyPenaltyBreakFirstLessLess: 0 92*d1d05ee6SAndrew JefferyPenaltyBreakString: 10 93*d1d05ee6SAndrew JefferyPenaltyExcessCharacter: 100 94*d1d05ee6SAndrew JefferyPenaltyReturnTypeOnItsOwnLine: 60 95*d1d05ee6SAndrew Jeffery 96*d1d05ee6SAndrew JefferyPointerAlignment: Right 97*d1d05ee6SAndrew JefferyReflowComments: false 98*d1d05ee6SAndrew JefferySortIncludes: false 99*d1d05ee6SAndrew Jeffery#SortUsingDeclarations: false # Unknown to clang-format-4.0 100*d1d05ee6SAndrew JefferySpaceAfterCStyleCast: false 101*d1d05ee6SAndrew JefferySpaceAfterTemplateKeyword: true 102*d1d05ee6SAndrew JefferySpaceBeforeAssignmentOperators: true 103*d1d05ee6SAndrew Jeffery#SpaceBeforeCtorInitializerColon: true # Unknown to clang-format-5.0 104*d1d05ee6SAndrew Jeffery#SpaceBeforeInheritanceColon: true # Unknown to clang-format-5.0 105*d1d05ee6SAndrew JefferySpaceBeforeParens: ControlStatements 106*d1d05ee6SAndrew Jeffery#SpaceBeforeRangeBasedForLoopColon: true # Unknown to clang-format-5.0 107*d1d05ee6SAndrew JefferySpaceInEmptyParentheses: false 108*d1d05ee6SAndrew JefferySpacesBeforeTrailingComments: 1 109*d1d05ee6SAndrew JefferySpacesInAngles: false 110*d1d05ee6SAndrew JefferySpacesInContainerLiterals: false 111*d1d05ee6SAndrew JefferySpacesInCStyleCastParentheses: false 112*d1d05ee6SAndrew JefferySpacesInParentheses: false 113*d1d05ee6SAndrew JefferySpacesInSquareBrackets: false 114*d1d05ee6SAndrew JefferyStandard: Cpp03 115*d1d05ee6SAndrew JefferyTabWidth: 8 116*d1d05ee6SAndrew JefferyUseTab: Always 117*d1d05ee6SAndrew Jeffery... 118