~mmach/netext73/mesa-haswell

« back to all changes in this revision

Viewing changes to src/freedreno/.clang-format

  • Committer: mmach
  • Date: 2022-09-22 19:56:13 UTC
  • Revision ID: netbit73@gmail.com-20220922195613-wtik9mmy20tmor0i
2022-09-22 21:17:09

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AlignAfterOpenBracket: true
2
 
AlignConsecutiveMacros: true
3
 
AlignConsecutiveBitFields: true
4
 
AllowAllArgumentsOnNextLine: false
5
 
AllowShortCaseLabelsOnASingleLine: false
6
 
AllowShortFunctionsOnASingleLine: false
7
 
AlwaysBreakAfterReturnType: TopLevelDefinitions
8
 
BasedOnStyle: LLVM
9
 
BraceWrapping:
10
 
  AfterControlStatement: false
11
 
  AfterEnum: false
12
 
  AfterFunction: true
13
 
  AfterStruct: false
14
 
  BeforeElse: false
15
 
  SplitEmptyFunction: true
16
 
BinPackArguments: true
17
 
BinPackParameters: true
18
 
BreakBeforeBraces: Custom
19
 
ColumnLimit: 80
20
 
ContinuationIndentWidth: 3
21
 
Cpp11BracedListStyle: false
22
 
Cpp11BracedListStyle: true
23
 
BreakStringLiterals: false
24
 
ForEachMacros:
25
 
  - BITSET_FOREACH_SET
26
 
  - BITSET_FOREACH_RANGE
27
 
  - LIST_FOR_EACH_ENTRY
28
 
  - LIST_FOR_EACH_ENTRY_SAFE
29
 
  - LIST_FOR_EACH_ENTRY_SAFE_REV
30
 
  - list_for_each_entry
31
 
  - list_for_each_entry_safe
32
 
  - list_for_each_entry_rev
33
 
  - list_for_each_entry_rev_safe
34
 
  - list_for_each_entry_from
35
 
  - list_for_each_entry_from_rev
36
 
  - foreach_list_typed
37
 
  - u_foreach_bit
38
 
  - util_dynarray_foreach
39
 
  - rb_tree_foreach
40
 
  - rb_tree_foreach_safe
41
 
  - nir_foreach_variable
42
 
  - nir_foreach_variable_safe
43
 
  - nir_foreach_uniform_variable
44
 
  - nir_foreach_uniform_variable_safe
45
 
  - nir_foreach_register
46
 
  - nir_foreach_register_safe
47
 
  - nir_foreach_use
48
 
  - nir_foreach_use_safe
49
 
  - nir_foreach_if_use
50
 
  - nir_foreach_if_use_safe
51
 
  - nir_foreach_def
52
 
  - nir_foreach_def_safe
53
 
  - nir_foreach_phi_src
54
 
  - nir_foreach_phi_src_safe
55
 
  - nir_foreach_parallel_copy_entry
56
 
  - nir_foreach_instr
57
 
  - nir_foreach_instr_reverse
58
 
  - nir_foreach_instr_safe
59
 
  - nir_foreach_instr_reverse_safe
60
 
  - nir_foreach_instr_from_safe
61
 
  - nir_foreach_function
62
 
  - nir_foreach_block
63
 
  - nir_foreach_block_safe
64
 
  - nir_foreach_block_reverse
65
 
  - nir_foreach_block_reverse_safe
66
 
  - nir_foreach_block_in_cf_node
67
 
  - nir_foreach_shader_in_variable
68
 
  - nir_foreach_shader_out_variable_safe
69
 
  - nir_foreach_variable_in_list
70
 
  - nir_foreach_variable_with_modes_safe
71
 
  - nir_foreach_variable_with_modes
72
 
  - nir_foreach_shader_out_variable
73
 
  - ir2_foreach_instr
74
 
  - ir2_foreach_live_reg
75
 
  - ir2_foreach_avail
76
 
  - ir2_foreach_src
77
 
  - foreach_two_lists
78
 
  - foreach_bit
79
 
  - foreach_sched_node
80
 
  - foreach_src
81
 
  - foreach_src_n
82
 
  - foreach_dst
83
 
  - foreach_dst_n
84
 
  - ra_foreach_dst
85
 
  - ra_foreach_src
86
 
  - ra_foreach_src_rev
87
 
  - foreach_ssa_use
88
 
  - foreach_ssa_srcp_n
89
 
  - foreach_ssa_srcp
90
 
  - foreach_ssa_src_n
91
 
  - foreach_ssa_src
92
 
  - foreach_input_n
93
 
  - foreach_input
94
 
  - foreach_output_n
95
 
  - foreach_output
96
 
  - foreach_instr
97
 
  - foreach_instr_rev
98
 
  - foreach_instr_safe
99
 
  - foreach_instr_from_safe
100
 
  - foreach_block
101
 
  - foreach_block_safe
102
 
  - foreach_block_rev
103
 
  - foreach_array
104
 
  - foreach_array_safe
105
 
  - foreach_name_n
106
 
  - foreach_name
107
 
  - foreach_def
108
 
  - foreach_use
109
 
  - foreach_interval
110
 
  - foreach_interval_safe
111
 
  - foreach_interval_rev
112
 
  - foreach_interval_rev_safe
113
 
  - foreach_batch
114
 
  - hash_table_foreach
115
 
  - set_foreach
116
 
  - foreach_line_in_section
117
 
  - perf_time
118
 
  - perf_time_ctx
119
 
  - foreach_submit
120
 
  - foreach_submit_safe
121
 
 
122
 
IncludeBlocks: Preserve
123
 
IncludeCategories:
124
 
  - Regex:           '<[[:alnum:].]+>'
125
 
    Priority:        1
126
 
  - Regex:           '.*\/.*'
127
 
    Priority:        2
128
 
  - Regex:           '.*'
129
 
    Priority:        3
130
 
IndentWidth: 3
131
 
PenaltyBreakBeforeFirstCallParameter: 1
132
 
PenaltyExcessCharacter: 100
133
 
SpaceAfterCStyleCast: false
134
 
SpaceBeforeCpp11BracedList: false
135
 
SpaceBeforeCtorInitializerColon: false
136
 
SpacesInContainerLiterals: false
137