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