diff options
| author | 3gg <3gg@shellblade.net> | 2025-08-30 16:53:58 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-08-30 16:53:58 -0700 |
| commit | 6aaedb813fa11ba0679c3051bc2eb28646b9506c (patch) | |
| tree | 34acbfc9840e02cb4753e6306ea7ce978bf8b58e /src/contrib/SDL-2.30.2/.clang-format | |
| parent | 8f228ade99dd3d4c8da9b78ade1815c9adf85c8f (diff) | |
Update to SDL3
Diffstat (limited to 'src/contrib/SDL-2.30.2/.clang-format')
| -rw-r--r-- | src/contrib/SDL-2.30.2/.clang-format | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/src/contrib/SDL-2.30.2/.clang-format b/src/contrib/SDL-2.30.2/.clang-format deleted file mode 100644 index e98e5cd..0000000 --- a/src/contrib/SDL-2.30.2/.clang-format +++ /dev/null | |||
| @@ -1,90 +0,0 @@ | |||
| 1 | --- | ||
| 2 | AlignConsecutiveMacros: Consecutive | ||
| 3 | AlignConsecutiveAssignments: None | ||
| 4 | AlignConsecutiveBitFields: None | ||
| 5 | AlignConsecutiveDeclarations: None | ||
| 6 | AlignEscapedNewlines: Right | ||
| 7 | AlignOperands: Align | ||
| 8 | AlignTrailingComments: true | ||
| 9 | |||
| 10 | AllowAllArgumentsOnNextLine: true | ||
| 11 | AllowAllParametersOfDeclarationOnNextLine: true | ||
| 12 | AllowShortEnumsOnASingleLine: true | ||
| 13 | AllowShortBlocksOnASingleLine: Never | ||
| 14 | AllowShortCaseLabelsOnASingleLine: false | ||
| 15 | AllowShortFunctionsOnASingleLine: All | ||
| 16 | AllowShortIfStatementsOnASingleLine: Never | ||
| 17 | AllowShortLoopsOnASingleLine: false | ||
| 18 | |||
| 19 | AlwaysBreakAfterDefinitionReturnType: None | ||
| 20 | AlwaysBreakAfterReturnType: None | ||
| 21 | AlwaysBreakBeforeMultilineStrings: false | ||
| 22 | AlwaysBreakTemplateDeclarations: MultiLine | ||
| 23 | |||
| 24 | # Custom brace breaking | ||
| 25 | BreakBeforeBraces: Custom | ||
| 26 | BraceWrapping: | ||
| 27 | AfterCaseLabel: true | ||
| 28 | AfterClass: true | ||
| 29 | AfterControlStatement: Never | ||
| 30 | AfterEnum: true | ||
| 31 | AfterFunction: true | ||
| 32 | AfterNamespace: true | ||
| 33 | AfterObjCDeclaration: true | ||
| 34 | AfterStruct: true | ||
| 35 | AfterUnion: true | ||
| 36 | AfterExternBlock: false | ||
| 37 | BeforeElse: false | ||
| 38 | BeforeWhile: false | ||
| 39 | IndentBraces: false | ||
| 40 | SplitEmptyFunction: true | ||
| 41 | SplitEmptyRecord: true | ||
| 42 | |||
| 43 | # Make the closing brace of container literals go to a new line | ||
| 44 | Cpp11BracedListStyle: false | ||
| 45 | |||
| 46 | # Never format includes | ||
| 47 | IncludeBlocks: Preserve | ||
| 48 | # clang-format version 4.0 through 12.0: | ||
| 49 | #SortIncludes: false | ||
| 50 | # clang-format version 13.0+: | ||
| 51 | #SortIncludes: Never | ||
| 52 | |||
| 53 | # No length limit, in case it breaks macros, you can | ||
| 54 | # disable it with /* clang-format off/on */ comments | ||
| 55 | ColumnLimit: 0 | ||
| 56 | |||
| 57 | IndentWidth: 4 | ||
| 58 | ContinuationIndentWidth: 4 | ||
| 59 | IndentCaseLabels: false | ||
| 60 | IndentCaseBlocks: false | ||
| 61 | IndentGotoLabels: true | ||
| 62 | IndentPPDirectives: None | ||
| 63 | IndentExternBlock: NoIndent | ||
| 64 | |||
| 65 | PointerAlignment: Right | ||
| 66 | SpaceAfterCStyleCast: false | ||
| 67 | SpacesInCStyleCastParentheses: false | ||
| 68 | SpacesInConditionalStatement: false | ||
| 69 | SpacesInContainerLiterals: true | ||
| 70 | SpaceBeforeAssignmentOperators: true | ||
| 71 | SpaceBeforeCaseColon: false | ||
| 72 | SpaceBeforeParens: ControlStatements | ||
| 73 | SpaceAroundPointerQualifiers: Default | ||
| 74 | SpaceInEmptyBlock: false | ||
| 75 | SpaceInEmptyParentheses: false | ||
| 76 | |||
| 77 | UseCRLF: false | ||
| 78 | UseTab: Never | ||
| 79 | |||
| 80 | ForEachMacros: | ||
| 81 | [ | ||
| 82 | "spa_list_for_each", | ||
| 83 | "spa_list_for_each_safe", | ||
| 84 | "wl_list_for_each", | ||
| 85 | "wl_array_for_each", | ||
| 86 | "udev_list_entry_foreach", | ||
| 87 | ] | ||
| 88 | |||
| 89 | --- | ||
| 90 | |||
