summaryrefslogtreecommitdiff
path: root/contrib/SDL-3.2.8/.clang-format
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2026-03-06 13:30:59 -0800
committer3gg <3gg@shellblade.net>2026-03-06 13:30:59 -0800
commit30f41c02aec763d32e62351452da9ef582bc3472 (patch)
tree6bec3f65bfdcbf7f1a631da21a6d613bef5db2fa /contrib/SDL-3.2.8/.clang-format
parent452ff21ca02e315c64ceeb3f21c1ea357aeb1bc8 (diff)
Move contrib libraries to contrib repo
Diffstat (limited to 'contrib/SDL-3.2.8/.clang-format')
-rw-r--r--contrib/SDL-3.2.8/.clang-format91
1 files changed, 0 insertions, 91 deletions
diff --git a/contrib/SDL-3.2.8/.clang-format b/contrib/SDL-3.2.8/.clang-format
deleted file mode 100644
index 4e932d0..0000000
--- a/contrib/SDL-3.2.8/.clang-format
+++ /dev/null
@@ -1,91 +0,0 @@
1---
2AlignConsecutiveMacros: Consecutive
3AlignConsecutiveAssignments: None
4AlignConsecutiveBitFields: None
5AlignConsecutiveDeclarations: None
6AlignEscapedNewlines: Right
7AlignOperands: Align
8AlignTrailingComments: true
9
10AllowAllArgumentsOnNextLine: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortEnumsOnASingleLine: true
13AllowShortBlocksOnASingleLine: Never
14AllowShortCaseLabelsOnASingleLine: false
15AllowShortFunctionsOnASingleLine: All
16AllowShortIfStatementsOnASingleLine: Never
17AllowShortLoopsOnASingleLine: false
18
19AlwaysBreakAfterDefinitionReturnType: None
20AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
22AlwaysBreakTemplateDeclarations: MultiLine
23
24# Custom brace breaking
25BreakBeforeBraces: Custom
26BraceWrapping:
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
44Cpp11BracedListStyle: false
45
46# Never format includes
47IncludeBlocks: 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
55ColumnLimit: 0
56
57IndentWidth: 4
58ContinuationIndentWidth: 4
59IndentCaseLabels: false
60IndentCaseBlocks: false
61IndentGotoLabels: true
62IndentPPDirectives: None
63IndentExternBlock: NoIndent
64
65PointerAlignment: Right
66SpaceAfterCStyleCast: false
67SpacesInCStyleCastParentheses: false
68SpacesInConditionalStatement: false
69SpacesInContainerLiterals: true
70SpaceBeforeAssignmentOperators: true
71SpaceBeforeCaseColon: false
72SpaceBeforeParens: ControlStatements
73SpaceAroundPointerQualifiers: Default
74SpaceInEmptyBlock: false
75SpaceInEmptyParentheses: false
76
77UseCRLF: false
78UseTab: Never
79
80ForEachMacros:
81 [
82 "spa_list_for_each",
83 "spa_list_for_each_safe",
84 "wl_list_for_each",
85 "wl_list_for_each_safe",
86 "wl_array_for_each",
87 "udev_list_entry_foreach",
88 ]
89
90---
91