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 7*8737538eSAndrew JefferyAlignConsecutiveMacros: true 89d9a391fSAndrew JefferyAlignConsecutiveAssignments: false 99d9a391fSAndrew JefferyAlignConsecutiveDeclarations: false 109d9a391fSAndrew Jeffery#AlignEscapedNewlines: Left # Unknown to clang-format-4.0 119d9a391fSAndrew JefferyAlignOperands: true 129d9a391fSAndrew JefferyAlignTrailingComments: false 139d9a391fSAndrew JefferyAllowAllParametersOfDeclarationOnNextLine: false 149d9a391fSAndrew JefferyAllowShortBlocksOnASingleLine: false 159d9a391fSAndrew JefferyAllowShortCaseLabelsOnASingleLine: false 169d9a391fSAndrew JefferyAllowShortFunctionsOnASingleLine: None 179d9a391fSAndrew JefferyAllowShortIfStatementsOnASingleLine: false 189d9a391fSAndrew JefferyAllowShortLoopsOnASingleLine: false 199d9a391fSAndrew JefferyAlwaysBreakAfterDefinitionReturnType: None 209d9a391fSAndrew JefferyAlwaysBreakAfterReturnType: None 219d9a391fSAndrew JefferyAlwaysBreakBeforeMultilineStrings: false 229d9a391fSAndrew JefferyAlwaysBreakTemplateDeclarations: false 239d9a391fSAndrew JefferyBinPackArguments: true 249d9a391fSAndrew JefferyBinPackParameters: true 259d9a391fSAndrew JefferyBraceWrapping: 269d9a391fSAndrew Jeffery AfterClass: false 279d9a391fSAndrew Jeffery AfterControlStatement: false 289d9a391fSAndrew Jeffery AfterEnum: false 299d9a391fSAndrew Jeffery AfterFunction: true 309d9a391fSAndrew Jeffery AfterNamespace: true 319d9a391fSAndrew Jeffery AfterObjCDeclaration: false 329d9a391fSAndrew Jeffery AfterStruct: false 339d9a391fSAndrew Jeffery AfterUnion: false 349d9a391fSAndrew Jeffery #AfterExternBlock: false # Unknown to clang-format-5.0 359d9a391fSAndrew Jeffery BeforeCatch: false 369d9a391fSAndrew Jeffery BeforeElse: false 379d9a391fSAndrew Jeffery IndentBraces: false 389d9a391fSAndrew Jeffery #SplitEmptyFunction: true # Unknown to clang-format-4.0 399d9a391fSAndrew Jeffery #SplitEmptyRecord: true # Unknown to clang-format-4.0 409d9a391fSAndrew Jeffery #SplitEmptyNamespace: true # Unknown to clang-format-4.0 419d9a391fSAndrew JefferyBreakBeforeBinaryOperators: None 429d9a391fSAndrew JefferyBreakBeforeBraces: Custom 439d9a391fSAndrew Jeffery#BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0 449d9a391fSAndrew JefferyBreakBeforeTernaryOperators: false 459d9a391fSAndrew JefferyBreakConstructorInitializersBeforeComma: false 469d9a391fSAndrew Jeffery#BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0 479d9a391fSAndrew JefferyBreakAfterJavaFieldAnnotations: false 489d9a391fSAndrew JefferyBreakStringLiterals: false 499d9a391fSAndrew JefferyColumnLimit: 80 509d9a391fSAndrew JefferyCommentPragmas: '^ IWYU pragma:' 519d9a391fSAndrew Jeffery#CompactNamespaces: false # Unknown to clang-format-4.0 529d9a391fSAndrew JefferyConstructorInitializerAllOnOneLineOrOnePerLine: false 539d9a391fSAndrew JefferyConstructorInitializerIndentWidth: 8 549d9a391fSAndrew JefferyContinuationIndentWidth: 8 559d9a391fSAndrew JefferyCpp11BracedListStyle: false 569d9a391fSAndrew JefferyDerivePointerAlignment: false 579d9a391fSAndrew JefferyDisableFormat: false 589d9a391fSAndrew JefferyExperimentalAutoDetectBinPacking: false 599d9a391fSAndrew Jeffery#FixNamespaceComments: false # Unknown to clang-format-4.0 609d9a391fSAndrew Jeffery#IncludeBlocks: Preserve # Unknown to clang-format-5.0 619d9a391fSAndrew JefferyIncludeCategories: 629d9a391fSAndrew Jeffery - Regex: '.*' 639d9a391fSAndrew Jeffery Priority: 1 649d9a391fSAndrew JefferyIncludeIsMainRegex: '(Test)?$' 659d9a391fSAndrew JefferyIndentCaseLabels: false 669d9a391fSAndrew Jeffery#IndentPPDirectives: None # Unknown to clang-format-5.0 679d9a391fSAndrew JefferyIndentWidth: 8 689d9a391fSAndrew JefferyIndentWrappedFunctionNames: false 699d9a391fSAndrew JefferyJavaScriptQuotes: Leave 709d9a391fSAndrew JefferyJavaScriptWrapImports: true 719d9a391fSAndrew JefferyKeepEmptyLinesAtTheStartOfBlocks: false 729d9a391fSAndrew JefferyMacroBlockBegin: '' 739d9a391fSAndrew JefferyMacroBlockEnd: '' 749d9a391fSAndrew JefferyMaxEmptyLinesToKeep: 1 759d9a391fSAndrew JefferyNamespaceIndentation: Inner 769d9a391fSAndrew Jeffery#ObjCBinPackProtocolList: Auto # Unknown to clang-format-5.0 779d9a391fSAndrew JefferyObjCBlockIndentWidth: 8 789d9a391fSAndrew JefferyObjCSpaceAfterProperty: true 799d9a391fSAndrew JefferyObjCSpaceBeforeProtocolList: true 809d9a391fSAndrew Jeffery 819d9a391fSAndrew Jeffery# Taken from git's rules 829d9a391fSAndrew Jeffery#PenaltyBreakAssignment: 10 # Unknown to clang-format-4.0 839d9a391fSAndrew JefferyPenaltyBreakBeforeFirstCallParameter: 30 849d9a391fSAndrew JefferyPenaltyBreakComment: 10 859d9a391fSAndrew JefferyPenaltyBreakFirstLessLess: 0 869d9a391fSAndrew JefferyPenaltyBreakString: 10 879d9a391fSAndrew JefferyPenaltyExcessCharacter: 100 889d9a391fSAndrew JefferyPenaltyReturnTypeOnItsOwnLine: 60 899d9a391fSAndrew Jeffery 909d9a391fSAndrew JefferyPointerAlignment: Right 919d9a391fSAndrew JefferyReflowComments: false 929d9a391fSAndrew JefferySortIncludes: false 939d9a391fSAndrew Jeffery#SortUsingDeclarations: false # Unknown to clang-format-4.0 949d9a391fSAndrew JefferySpaceAfterCStyleCast: false 959d9a391fSAndrew JefferySpaceAfterTemplateKeyword: true 969d9a391fSAndrew JefferySpaceBeforeAssignmentOperators: true 979d9a391fSAndrew Jeffery#SpaceBeforeCtorInitializerColon: true # Unknown to clang-format-5.0 989d9a391fSAndrew Jeffery#SpaceBeforeInheritanceColon: true # Unknown to clang-format-5.0 999d9a391fSAndrew JefferySpaceBeforeParens: ControlStatements 1009d9a391fSAndrew Jeffery#SpaceBeforeRangeBasedForLoopColon: true # Unknown to clang-format-5.0 1019d9a391fSAndrew JefferySpaceInEmptyParentheses: false 1029d9a391fSAndrew JefferySpacesBeforeTrailingComments: 1 1039d9a391fSAndrew JefferySpacesInAngles: false 1049d9a391fSAndrew JefferySpacesInContainerLiterals: false 1059d9a391fSAndrew JefferySpacesInCStyleCastParentheses: false 1069d9a391fSAndrew JefferySpacesInParentheses: false 1079d9a391fSAndrew JefferySpacesInSquareBrackets: false 1089d9a391fSAndrew JefferyStandard: Cpp03 1099d9a391fSAndrew JefferyTabWidth: 8 1109d9a391fSAndrew JefferyUseTab: Always 1119d9a391fSAndrew Jeffery... 112