| Andrew Jeffery | 9d9a391 | 2020-04-01 22:50:23 +1030 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 | 
|  | 2 | # | 
|  | 3 | # Originally from Linux v5.6 | 
|  | 4 | --- | 
|  | 5 | AccessModifierOffset: -4 | 
|  | 6 | AlignAfterOpenBracket: Align | 
| Andrew Jeffery | 8737538 | 2020-06-19 17:20:17 +0930 | [diff] [blame] | 7 | AlignConsecutiveMacros: true | 
| Andrew Jeffery | 9d9a391 | 2020-04-01 22:50:23 +1030 | [diff] [blame] | 8 | AlignConsecutiveAssignments: false | 
|  | 9 | AlignConsecutiveDeclarations: false | 
|  | 10 | #AlignEscapedNewlines: Left # Unknown to clang-format-4.0 | 
|  | 11 | AlignOperands: true | 
|  | 12 | AlignTrailingComments: false | 
|  | 13 | AllowAllParametersOfDeclarationOnNextLine: false | 
|  | 14 | AllowShortBlocksOnASingleLine: false | 
|  | 15 | AllowShortCaseLabelsOnASingleLine: false | 
|  | 16 | AllowShortFunctionsOnASingleLine: None | 
|  | 17 | AllowShortIfStatementsOnASingleLine: false | 
|  | 18 | AllowShortLoopsOnASingleLine: false | 
|  | 19 | AlwaysBreakAfterDefinitionReturnType: None | 
|  | 20 | AlwaysBreakAfterReturnType: None | 
|  | 21 | AlwaysBreakBeforeMultilineStrings: false | 
|  | 22 | AlwaysBreakTemplateDeclarations: false | 
|  | 23 | BinPackArguments: true | 
|  | 24 | BinPackParameters: true | 
|  | 25 | BraceWrapping: | 
|  | 26 | AfterClass: false | 
|  | 27 | AfterControlStatement: false | 
|  | 28 | AfterEnum: false | 
|  | 29 | AfterFunction: true | 
|  | 30 | AfterNamespace: true | 
|  | 31 | AfterObjCDeclaration: false | 
|  | 32 | AfterStruct: false | 
|  | 33 | AfterUnion: false | 
|  | 34 | #AfterExternBlock: false # Unknown to clang-format-5.0 | 
|  | 35 | BeforeCatch: false | 
|  | 36 | BeforeElse: false | 
|  | 37 | IndentBraces: false | 
|  | 38 | #SplitEmptyFunction: true # Unknown to clang-format-4.0 | 
|  | 39 | #SplitEmptyRecord: true # Unknown to clang-format-4.0 | 
|  | 40 | #SplitEmptyNamespace: true # Unknown to clang-format-4.0 | 
|  | 41 | BreakBeforeBinaryOperators: None | 
|  | 42 | BreakBeforeBraces: Custom | 
|  | 43 | #BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0 | 
|  | 44 | BreakBeforeTernaryOperators: false | 
|  | 45 | BreakConstructorInitializersBeforeComma: false | 
|  | 46 | #BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0 | 
|  | 47 | BreakAfterJavaFieldAnnotations: false | 
|  | 48 | BreakStringLiterals: false | 
|  | 49 | ColumnLimit: 80 | 
|  | 50 | CommentPragmas: '^ IWYU pragma:' | 
|  | 51 | #CompactNamespaces: false # Unknown to clang-format-4.0 | 
|  | 52 | ConstructorInitializerAllOnOneLineOrOnePerLine: false | 
|  | 53 | ConstructorInitializerIndentWidth: 8 | 
|  | 54 | ContinuationIndentWidth: 8 | 
|  | 55 | Cpp11BracedListStyle: false | 
|  | 56 | DerivePointerAlignment: false | 
|  | 57 | DisableFormat: false | 
|  | 58 | ExperimentalAutoDetectBinPacking: false | 
|  | 59 | #FixNamespaceComments: false # Unknown to clang-format-4.0 | 
|  | 60 | #IncludeBlocks: Preserve # Unknown to clang-format-5.0 | 
|  | 61 | IncludeCategories: | 
|  | 62 | - Regex: '.*' | 
|  | 63 | Priority: 1 | 
|  | 64 | IncludeIsMainRegex: '(Test)?$' | 
|  | 65 | IndentCaseLabels: false | 
|  | 66 | #IndentPPDirectives: None # Unknown to clang-format-5.0 | 
|  | 67 | IndentWidth: 8 | 
|  | 68 | IndentWrappedFunctionNames: false | 
|  | 69 | JavaScriptQuotes: Leave | 
|  | 70 | JavaScriptWrapImports: true | 
|  | 71 | KeepEmptyLinesAtTheStartOfBlocks: false | 
|  | 72 | MacroBlockBegin: '' | 
|  | 73 | MacroBlockEnd: '' | 
|  | 74 | MaxEmptyLinesToKeep: 1 | 
|  | 75 | NamespaceIndentation: Inner | 
|  | 76 | #ObjCBinPackProtocolList: Auto # Unknown to clang-format-5.0 | 
|  | 77 | ObjCBlockIndentWidth: 8 | 
|  | 78 | ObjCSpaceAfterProperty: true | 
|  | 79 | ObjCSpaceBeforeProtocolList: true | 
|  | 80 |  | 
|  | 81 | # Taken from git's rules | 
|  | 82 | #PenaltyBreakAssignment: 10 # Unknown to clang-format-4.0 | 
|  | 83 | PenaltyBreakBeforeFirstCallParameter: 30 | 
|  | 84 | PenaltyBreakComment: 10 | 
|  | 85 | PenaltyBreakFirstLessLess: 0 | 
|  | 86 | PenaltyBreakString: 10 | 
|  | 87 | PenaltyExcessCharacter: 100 | 
|  | 88 | PenaltyReturnTypeOnItsOwnLine: 60 | 
|  | 89 |  | 
|  | 90 | PointerAlignment: Right | 
|  | 91 | ReflowComments: false | 
|  | 92 | SortIncludes: false | 
|  | 93 | #SortUsingDeclarations: false # Unknown to clang-format-4.0 | 
|  | 94 | SpaceAfterCStyleCast: false | 
|  | 95 | SpaceAfterTemplateKeyword: true | 
|  | 96 | SpaceBeforeAssignmentOperators: true | 
|  | 97 | #SpaceBeforeCtorInitializerColon: true # Unknown to clang-format-5.0 | 
|  | 98 | #SpaceBeforeInheritanceColon: true # Unknown to clang-format-5.0 | 
|  | 99 | SpaceBeforeParens: ControlStatements | 
|  | 100 | #SpaceBeforeRangeBasedForLoopColon: true # Unknown to clang-format-5.0 | 
|  | 101 | SpaceInEmptyParentheses: false | 
|  | 102 | SpacesBeforeTrailingComments: 1 | 
|  | 103 | SpacesInAngles: false | 
|  | 104 | SpacesInContainerLiterals: false | 
|  | 105 | SpacesInCStyleCastParentheses: false | 
|  | 106 | SpacesInParentheses: false | 
|  | 107 | SpacesInSquareBrackets: false | 
|  | 108 | Standard: Cpp03 | 
|  | 109 | TabWidth: 8 | 
|  | 110 | UseTab: Always | 
|  | 111 | ... |