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