| 1 |
|
| 2 |
AlignAfterOpenBracket: Align |
| 3 |
AlignConsecutiveMacros: Consecutive |
| 4 |
|
| 5 |
AllowAllArgumentsOnNextLine: false |
| 6 |
AllowShortCaseLabelsOnASingleLine: false |
| 7 |
AllowShortFunctionsOnASingleLine: None |
| 8 |
|
| 9 |
AlwaysBreakAfterReturnType: TopLevelDefinitions |
| 10 |
|
| 11 |
BraceWrapping: |
| 12 |
AfterControlStatement: Never |
| 13 |
AfterEnum: false |
| 14 |
AfterFunction: true |
| 15 |
AfterStruct: false |
| 16 |
BeforeElse: false |
| 17 |
SplitEmptyFunction: true |
| 18 |
|
| 19 |
BinPackArguments: true |
| 20 |
BinPackParameters: true |
| 21 |
|
| 22 |
BreakBeforeBraces: Custom |
| 23 |
|
| 24 |
ColumnLimit: 0 |
| 25 |
PenaltyBreakBeforeFirstCallParameter: 1 |
| 26 |
PenaltyExcessCharacter: 100 |
| 27 |
|
| 28 |
ContinuationIndentWidth: 3 |
| 29 |
IndentWidth: 3 |
| 30 |
UseTab: Never |
| 31 |
|
| 32 |
Cpp11BracedListStyle: true |
| 33 |
|
| 34 |
SpaceAfterCStyleCast: false |
| 35 |
SpaceBeforeCpp11BracedList: false |
| 36 |
SpaceBeforeCtorInitializerColon: false |
| 37 |
SpacesInContainerLiterals: false |
| 38 |
|
| 39 |
PointerAlignment: Right |
| 40 |
|
| 41 |
IncludeBlocks: Preserve |
| 42 |
IncludeCategories: |
| 43 |
- Regex: '<[[:alnum:].]+>' |
| 44 |
Priority: 1 |
| 45 |
- Regex: '.*\/.*' |
| 46 |
Priority: 2 |
| 47 |
- Regex: '.*' |
| 48 |
Priority: 3 |
| 49 |
|
| 50 |
ForEachMacros: |
| 51 |
# There is no way to extend ForEachMacros |
| 52 |
# The issue tracker https://github.com/llvm/llvm-project/issues/84359 |
| 53 |
# util |
| 54 |
- u_foreach_bit |
| 55 |
- u_foreach_bit64 |
| 56 |
|
| 57 |
- u_vector_foreach |
| 58 |
|
| 59 |
- BITSET_FOREACH_SET |
| 60 |
- BITSET_FOREACH_RANGE |
| 61 |
|
| 62 |
- hash_table_foreach |
| 63 |
- hash_table_foreach_remove |
| 64 |
- hash_table_u64_foreach |
| 65 |
|
| 66 |
- rb_tree_foreach |
| 67 |
- rb_tree_foreach_rev |
| 68 |
- rb_tree_foreach_rev_safe |
| 69 |
- rb_tree_foreach_safe |
| 70 |
- uinterval_tree_foreach |
| 71 |
|
| 72 |
- set_foreach |
| 73 |
- set_foreach_remove |
| 74 |
|
| 75 |
- util_dynarray_foreach |
| 76 |
- util_dynarray_foreach_reverse |
| 77 |
|
| 78 |
- util_idalloc_foreach |
| 79 |
|
| 80 |
- LIST_FOR_EACH_ENTRY |
| 81 |
- LIST_FOR_EACH_ENTRY_FROM |
| 82 |
- LIST_FOR_EACH_ENTRY_FROM_REV |
| 83 |
- LIST_FOR_EACH_ENTRY_SAFE |
| 84 |
- LIST_FOR_EACH_ENTRY_SAFE_REV |
| 85 |
- list_for_each_entry |
| 86 |
- list_for_each_entry_from |
| 87 |
- list_for_each_entry_from_rev |
| 88 |
- list_for_each_entry_from_safe |
| 89 |
- list_for_each_entry_rev |
| 90 |
- list_for_each_entry_rev_safe |
| 91 |
- list_for_each_entry_safe |
| 92 |
- list_pair_for_each_entry |
| 93 |
|
| 94 |
- foreach_in_list |
| 95 |
- foreach_in_list_reverse |
| 96 |
- foreach_in_list_reverse_safe |
| 97 |
- foreach_in_list_safe |
| 98 |
- foreach_in_list_use_after |
| 99 |
- foreach_list_typed |
| 100 |
- foreach_list_typed_from |
| 101 |
- foreach_list_typed_reverse |
| 102 |
- foreach_list_typed_reverse_safe |
| 103 |
- foreach_list_typed_safe |
| 104 |
- foreach_two_lists |
| 105 |
|
| 106 |
- U_SPARSE_BITSET_FOREACH_SET |
| 107 |
|
| 108 |
# nir |
| 109 |
- nir_foreach_function_temp_variable |
| 110 |
- nir_foreach_function_temp_variable_safe |
| 111 |
- nir_foreach_image_variable |
| 112 |
- nir_foreach_image_variable_safe |
| 113 |
- nir_foreach_shader_in_variable |
| 114 |
- nir_foreach_shader_in_variable_safe |
| 115 |
- nir_foreach_shader_out_variable |
| 116 |
- nir_foreach_shader_out_variable_safe |
| 117 |
- nir_foreach_uniform_variable |
| 118 |
- nir_foreach_uniform_variable_safe |
| 119 |
- nir_foreach_variable |
| 120 |
- nir_foreach_variable_in_list |
| 121 |
- nir_foreach_variable_in_list_safe |
| 122 |
- nir_foreach_variable_in_shader |
| 123 |
- nir_foreach_variable_in_shader_safe |
| 124 |
- nir_foreach_variable_safe |
| 125 |
- nir_foreach_variable_with_modes |
| 126 |
- nir_foreach_variable_with_modes_safe |
| 127 |
|
| 128 |
- nir_foreach_reg_decl |
| 129 |
- nir_foreach_reg_decl_safe |
| 130 |
- nir_foreach_reg_load |
| 131 |
- nir_foreach_reg_load_safe |
| 132 |
- nir_foreach_reg_store |
| 133 |
- nir_foreach_reg_store_safe |
| 134 |
|
| 135 |
- nir_foreach_if_use |
| 136 |
- nir_foreach_if_use_safe |
| 137 |
- nir_foreach_use |
| 138 |
- nir_foreach_use_including_if |
| 139 |
- nir_foreach_use_including_if_safe |
| 140 |
- nir_foreach_use_safe |
| 141 |
|
| 142 |
- nir_foreach_phi_src |
| 143 |
- nir_foreach_phi_src_safe |
| 144 |
|
| 145 |
- nir_foreach_parallel_copy_entry |
| 146 |
|
| 147 |
- nir_foreach_instr |
| 148 |
- nir_foreach_instr_in_worklist |
| 149 |
- nir_foreach_instr_reverse |
| 150 |
- nir_foreach_instr_reverse_safe |
| 151 |
- nir_foreach_instr_safe |
| 152 |
|
| 153 |
- nir_foreach_phi |
| 154 |
- nir_foreach_phi_safe |
| 155 |
|
| 156 |
- nir_foreach_function |
| 157 |
- nir_foreach_function_safe |
| 158 |
- nir_foreach_function_with_impl |
| 159 |
|
| 160 |
- nir_foreach_function_impl |
| 161 |
|
| 162 |
- nir_foreach_entrypoint |
| 163 |
- nir_foreach_entrypoint_safe |
| 164 |
|
| 165 |
- nir_foreach_block_unstructured |
| 166 |
- nir_foreach_block_unstructured_safe |
| 167 |
|
| 168 |
- nir_foreach_block |
| 169 |
- nir_foreach_block_in_cf_node |
| 170 |
- nir_foreach_block_in_cf_node_reverse |
| 171 |
- nir_foreach_block_reverse |
| 172 |
- nir_foreach_block_reverse_safe |
| 173 |
- nir_foreach_block_safe |
| 174 |
|
| 175 |
- nir_foreach_pred |
| 176 |
|
| 177 |
- nir_precomp_foreach_arg |
| 178 |
- nir_precomp_foreach_variant_param |
| 179 |
|
| 180 |
- foreach_pair |
| 181 |
|
| 182 |
# egl |
| 183 |
- egl_relax |
| 184 |
|
| 185 |
# wayland |
| 186 |
- wl_list_for_each |
| 187 |
- wl_list_for_each_safe |
| 188 |
- wl_list_for_each_reverse |
| 189 |
- wl_list_for_each_reverse_safe |
| 190 |
- wl_array_for_each |
| 191 |
|
| 192 |
# vulkan |
| 193 |
- vk_foreach_queue |
| 194 |
- vk_foreach_queue_safe |
| 195 |
|
| 196 |
- vk_foreach_struct |
| 197 |
- vk_foreach_struct_const |
| 198 |
|
| 199 |
- vk_foreach_multi_draw |
| 200 |
- vk_foreach_multi_draw_indexed |
| 201 |
|
| 202 |
# asahi |
| 203 |
- foreach_active |
| 204 |
- foreach_submitted |
| 205 |
- hk_foreach_view |
| 206 |
- hk_foreach_variant |
| 207 |
- AGX_BATCH_FOREACH_BO_HANDLE |
| 208 |
- agx_pack |
| 209 |
- agx_push |
| 210 |
- agx_usc_pack |
| 211 |
- agx_ppp_push |
| 212 |
- agx_ppp_push_merged |
| 213 |
- agx_foreach_block |
| 214 |
- agx_foreach_block_safe |
| 215 |
- agx_foreach_block_from |
| 216 |
- agx_foreach_block_from_rev |
| 217 |
- agx_foreach_block_rev |
| 218 |
- agx_foreach_dest |
| 219 |
- agx_foreach_dest_rev |
| 220 |
- agx_foreach_instr_global |
| 221 |
- agx_foreach_instr_global_rev |
| 222 |
- agx_foreach_instr_global_safe |
| 223 |
- agx_foreach_instr_global_safe_rev |
| 224 |
- agx_foreach_instr_in_block |
| 225 |
- agx_foreach_instr_in_block_from |
| 226 |
- agx_foreach_instr_in_block_from_rev |
| 227 |
- agx_foreach_instr_in_block_rev |
| 228 |
- agx_foreach_instr_in_block_safe |
| 229 |
- agx_foreach_instr_in_block_safe_rev |
| 230 |
- agx_foreach_non_phi_in_block_rev |
| 231 |
- agx_foreach_phi_in_block |
| 232 |
- agx_foreach_phi_in_block_safe |
| 233 |
- agx_foreach_predecessor |
| 234 |
- agx_foreach_src |
| 235 |
- agx_foreach_src_rev |
| 236 |
- agx_foreach_ssa_dest |
| 237 |
- agx_foreach_ssa_dest_rev |
| 238 |
- agx_foreach_ssa_src |
| 239 |
- agx_foreach_ssa_src_rev |
| 240 |
- agx_foreach_reg_src |
| 241 |
- agx_foreach_reg_dest |
| 242 |
- agx_foreach_successor |
| 243 |
- foreach_next_use |
| 244 |
|
| 245 |
# poly |
| 246 |
- poly_foreach_xfb |
| 247 |
|
| 248 |
# radv |
| 249 |
- PHASE |
| 250 |
- radv_foreach_stage |
| 251 |
|
| 252 |
# freedreno |
| 253 |
- ir2_foreach_instr |
| 254 |
- ir2_foreach_live_reg |
| 255 |
- ir2_foreach_avail |
| 256 |
- ir2_foreach_src |
| 257 |
- foreach_batch |
| 258 |
- perf_time |
| 259 |
- perf_time_ctx |
| 260 |
- foreach_sched_node |
| 261 |
- foreach_src |
| 262 |
- foreach_src_n |
| 263 |
- foreach_src_if |
| 264 |
- foreach_src_with_alias_n |
| 265 |
- foreach_src_in_alias_group_n |
| 266 |
- foreach_src_in_alias_group |
| 267 |
- foreach_dst |
| 268 |
- foreach_dst_n |
| 269 |
- foreach_dst_if |
| 270 |
- ra_foreach_dst |
| 271 |
- ra_foreach_src |
| 272 |
- ra_foreach_src_rev |
| 273 |
- foreach_ssa_use |
| 274 |
- foreach_ssa_srcp_n |
| 275 |
- foreach_ssa_srcp |
| 276 |
- foreach_ssa_src_n |
| 277 |
- foreach_ssa_src |
| 278 |
- foreach_input_n |
| 279 |
- foreach_input |
| 280 |
- foreach_instr |
| 281 |
- foreach_instr_rev |
| 282 |
- foreach_instr_safe |
| 283 |
- foreach_instr_from |
| 284 |
- foreach_instr_from_safe |
| 285 |
- foreach_block |
| 286 |
- foreach_block_safe |
| 287 |
- foreach_block_rev |
| 288 |
- foreach_array |
| 289 |
- foreach_array_safe |
| 290 |
- foreach_interval |
| 291 |
- foreach_interval_safe |
| 292 |
- foreach_interval_rev |
| 293 |
- foreach_interval_rev_safe |
| 294 |
- foreach_line_in_section |
| 295 |
- foreach_submit |
| 296 |
- foreach_submit_safe |
| 297 |
- foreach_instr_rpt |
| 298 |
- foreach_instr_rpt_excl |
| 299 |
- foreach_instr_rpt_excl_safe |
| 300 |
- foreach_bo |
| 301 |
- foreach_bo_safe |
| 302 |
|
| 303 |
# intel |
| 304 |
- jay_foreach_ssa_file |
| 305 |
- jay_foreach_function |
| 306 |
- jay_foreach_block |
| 307 |
- jay_foreach_block_safe |
| 308 |
- jay_foreach_block_rev |
| 309 |
- jay_foreach_block_from |
| 310 |
- jay_foreach_block_from_rev |
| 311 |
- jay_foreach_dst |
| 312 |
- jay_foreach_dst_index |
| 313 |
- jay_foreach_inst_in_block |
| 314 |
- jay_foreach_inst_in_block_rev |
| 315 |
- jay_foreach_inst_in_block_safe |
| 316 |
- jay_foreach_inst_in_block_safe_rev |
| 317 |
- jay_foreach_inst_in_block_from |
| 318 |
- jay_foreach_inst_in_block_from_rev |
| 319 |
- jay_foreach_inst_in_shader |
| 320 |
- jay_foreach_inst_in_shader_rev |
| 321 |
- jay_foreach_inst_in_shader_safe |
| 322 |
- jay_foreach_inst_in_shader_safe_rev |
| 323 |
- jay_foreach_inst_in_func |
| 324 |
- jay_foreach_inst_in_func_rev |
| 325 |
- jay_foreach_inst_in_func_safe |
| 326 |
- jay_foreach_inst_in_func_safe_rev |
| 327 |
- jay_foreach_successor |
| 328 |
- jay_foreach_predecessor |
| 329 |
- jay_foreach_comp |
| 330 |
- jay_foreach_comp_rev |
| 331 |
- jay_foreach_src |
| 332 |
- jay_foreach_src_rev |
| 333 |
- jay_foreach_ssa_src |
| 334 |
- jay_foreach_ssa_src_rev |
| 335 |
- jay_foreach_ssa_src_comp |
| 336 |
- jay_foreach_index |
| 337 |
- jay_foreach_index_rev |
| 338 |
- jay_foreach_src_index |
| 339 |
- jay_foreach_src_index_rev |
| 340 |
- jay_repair_foreach_phi |
| 341 |
- jay_foreach_phi_src_in_block |
| 342 |
- jay_foreach_phi_dst_in_block |
| 343 |
- jay_foreach_preload |
| 344 |
- jay_foreach_killed |
| 345 |
- jay_foreach_ra_src |
| 346 |
- jay_foreach_ra_file |
| 347 |
- jay_foreach_pipe |
| 348 |
|
| 349 |
# Disable clang formatting by default. Drivers that use clang-format |
| 350 |
# inherit from this .clang-format file and re-enable formatting: |
| 351 |
# |
| 352 |
# DisableFormat: false |
| 353 |
# |
| 354 |
DisableFormat: true |