19d9a391fSAndrew Jeffery# SPDX-License-Identifier: GPL-2.0 29d9a391fSAndrew Jeffery# 39d9a391fSAndrew Jeffery# Originally from Linux v5.6 49d9a391fSAndrew Jeffery--- 59d9a391fSAndrew JefferyAccessModifierOffset: -4 69d9a391fSAndrew JefferyAlignAfterOpenBracket: Align 78737538eSAndrew JefferyAlignConsecutiveMacros: true 89d9a391fSAndrew JefferyAlignConsecutiveAssignments: false 99d9a391fSAndrew JefferyAlignConsecutiveDeclarations: false 109d9a391fSAndrew Jeffery#AlignEscapedNewlines: Left # Unknown to clang-format-4.0 117f7fdc1dSAndrew JefferyAlignOperands: Align 127f7fdc1dSAndrew JefferyAlignTrailingComments: 137f7fdc1dSAndrew Jeffery Kind: Always 147f7fdc1dSAndrew Jeffery OverEmptyLines: 1 159d9a391fSAndrew JefferyAllowAllParametersOfDeclarationOnNextLine: false 169d9a391fSAndrew JefferyAllowShortBlocksOnASingleLine: false 179d9a391fSAndrew JefferyAllowShortCaseLabelsOnASingleLine: false 189d9a391fSAndrew JefferyAllowShortFunctionsOnASingleLine: None 199d9a391fSAndrew JefferyAllowShortIfStatementsOnASingleLine: false 209d9a391fSAndrew JefferyAllowShortLoopsOnASingleLine: false 219d9a391fSAndrew JefferyAlwaysBreakAfterDefinitionReturnType: None 229d9a391fSAndrew JefferyAlwaysBreakAfterReturnType: None 239d9a391fSAndrew JefferyAlwaysBreakBeforeMultilineStrings: false 249d9a391fSAndrew JefferyAlwaysBreakTemplateDeclarations: false 259d9a391fSAndrew JefferyBinPackArguments: true 269d9a391fSAndrew JefferyBinPackParameters: true 279d9a391fSAndrew JefferyBraceWrapping: 289d9a391fSAndrew Jeffery AfterClass: false 299d9a391fSAndrew Jeffery AfterControlStatement: false 309d9a391fSAndrew Jeffery AfterEnum: false 319d9a391fSAndrew Jeffery AfterFunction: true 329d9a391fSAndrew Jeffery AfterNamespace: true 339d9a391fSAndrew Jeffery AfterObjCDeclaration: false 349d9a391fSAndrew Jeffery AfterStruct: false 359d9a391fSAndrew Jeffery AfterUnion: false 369d9a391fSAndrew Jeffery #AfterExternBlock: false # Unknown to clang-format-5.0 379d9a391fSAndrew Jeffery BeforeCatch: false 389d9a391fSAndrew Jeffery BeforeElse: false 399d9a391fSAndrew Jeffery IndentBraces: false 409d9a391fSAndrew Jeffery #SplitEmptyFunction: true # Unknown to clang-format-4.0 419d9a391fSAndrew Jeffery #SplitEmptyRecord: true # Unknown to clang-format-4.0 429d9a391fSAndrew Jeffery #SplitEmptyNamespace: true # Unknown to clang-format-4.0 437f7fdc1dSAndrew JefferyBreakAfterAttributes: Never 449d9a391fSAndrew JefferyBreakBeforeBinaryOperators: None 459d9a391fSAndrew JefferyBreakBeforeBraces: Custom 469d9a391fSAndrew Jeffery#BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0 479d9a391fSAndrew JefferyBreakBeforeTernaryOperators: false 489d9a391fSAndrew JefferyBreakConstructorInitializersBeforeComma: false 499d9a391fSAndrew Jeffery#BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0 509d9a391fSAndrew JefferyBreakAfterJavaFieldAnnotations: false 519d9a391fSAndrew JefferyBreakStringLiterals: false 529d9a391fSAndrew JefferyColumnLimit: 80 539d9a391fSAndrew JefferyCommentPragmas: '^ IWYU pragma:' 549d9a391fSAndrew Jeffery#CompactNamespaces: false # Unknown to clang-format-4.0 559d9a391fSAndrew JefferyConstructorInitializerAllOnOneLineOrOnePerLine: false 569d9a391fSAndrew JefferyConstructorInitializerIndentWidth: 8 579d9a391fSAndrew JefferyContinuationIndentWidth: 8 589d9a391fSAndrew JefferyCpp11BracedListStyle: false 597f7fdc1dSAndrew JefferyDeriveLineEnding: false 609d9a391fSAndrew JefferyDerivePointerAlignment: false 619d9a391fSAndrew JefferyDisableFormat: false 629d9a391fSAndrew JefferyExperimentalAutoDetectBinPacking: false 639d9a391fSAndrew Jeffery#FixNamespaceComments: false # Unknown to clang-format-4.0 649d9a391fSAndrew Jeffery#IncludeBlocks: Preserve # Unknown to clang-format-5.0 659d9a391fSAndrew JefferyIncludeCategories: 669d9a391fSAndrew Jeffery - Regex: '.*' 679d9a391fSAndrew Jeffery Priority: 1 689d9a391fSAndrew JefferyIncludeIsMainRegex: '(Test)?$' 699d9a391fSAndrew JefferyIndentCaseLabels: false 70*8003c710SPatrick WilliamsIndentExternBlock: NoIndent 719d9a391fSAndrew Jeffery#IndentPPDirectives: None # Unknown to clang-format-5.0 729d9a391fSAndrew JefferyIndentWidth: 8 739d9a391fSAndrew JefferyIndentWrappedFunctionNames: false 747f7fdc1dSAndrew JefferyInsertNewlineAtEOF: true 759d9a391fSAndrew JefferyJavaScriptQuotes: Leave 769d9a391fSAndrew JefferyJavaScriptWrapImports: true 779d9a391fSAndrew JefferyKeepEmptyLinesAtTheStartOfBlocks: false 787f7fdc1dSAndrew JefferyLineEnding: LF 799d9a391fSAndrew JefferyMacroBlockBegin: '' 809d9a391fSAndrew JefferyMacroBlockEnd: '' 819d9a391fSAndrew JefferyMaxEmptyLinesToKeep: 1 829d9a391fSAndrew JefferyNamespaceIndentation: Inner 839d9a391fSAndrew Jeffery#ObjCBinPackProtocolList: Auto # Unknown to clang-format-5.0 849d9a391fSAndrew JefferyObjCBlockIndentWidth: 8 859d9a391fSAndrew JefferyObjCSpaceAfterProperty: true 869d9a391fSAndrew JefferyObjCSpaceBeforeProtocolList: true 879d9a391fSAndrew Jeffery 889d9a391fSAndrew Jeffery# Taken from git's rules 897f7fdc1dSAndrew JefferyPenaltyBreakAssignment: 10 909d9a391fSAndrew JefferyPenaltyBreakBeforeFirstCallParameter: 30 919d9a391fSAndrew JefferyPenaltyBreakComment: 10 929d9a391fSAndrew JefferyPenaltyBreakFirstLessLess: 0 939d9a391fSAndrew JefferyPenaltyBreakString: 10 949d9a391fSAndrew JefferyPenaltyExcessCharacter: 100 959d9a391fSAndrew JefferyPenaltyReturnTypeOnItsOwnLine: 60 969d9a391fSAndrew Jeffery 979d9a391fSAndrew JefferyPointerAlignment: Right 989d9a391fSAndrew JefferyReflowComments: false 999d9a391fSAndrew JefferySortIncludes: false 1009d9a391fSAndrew Jeffery#SortUsingDeclarations: false # Unknown to clang-format-4.0 1019d9a391fSAndrew JefferySpaceAfterCStyleCast: false 1029d9a391fSAndrew JefferySpaceAfterTemplateKeyword: true 1039d9a391fSAndrew JefferySpaceBeforeAssignmentOperators: true 1049d9a391fSAndrew Jeffery#SpaceBeforeCtorInitializerColon: true # Unknown to clang-format-5.0 1059d9a391fSAndrew Jeffery#SpaceBeforeInheritanceColon: true # Unknown to clang-format-5.0 1069d9a391fSAndrew JefferySpaceBeforeParens: ControlStatements 1079d9a391fSAndrew Jeffery#SpaceBeforeRangeBasedForLoopColon: true # Unknown to clang-format-5.0 1089d9a391fSAndrew JefferySpaceInEmptyParentheses: false 1099d9a391fSAndrew JefferySpacesBeforeTrailingComments: 1 1109d9a391fSAndrew JefferySpacesInAngles: false 1119d9a391fSAndrew JefferySpacesInContainerLiterals: false 1129d9a391fSAndrew JefferySpacesInCStyleCastParentheses: false 1139d9a391fSAndrew JefferySpacesInParentheses: false 1149d9a391fSAndrew JefferySpacesInSquareBrackets: false 1159d9a391fSAndrew JefferyStandard: Cpp03 1169d9a391fSAndrew JefferyTabWidth: 8 1179d9a391fSAndrew JefferyUseTab: Always 1189d9a391fSAndrew Jeffery... 119