panforst: Update ForEachMacros

We have various clang-format issues around on some common code macros.

This should fix this in panvk at least

Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32939>
This commit is contained in:
Mary Guillemard
2024-12-10 10:39:03 +01:00
committed by Marge Bot
parent 2e38a15070
commit 27d94a16c7

View File

@@ -7,6 +7,7 @@ ColumnLimit: 80
BreakStringLiterals: false
SpaceBeforeParens: ControlStatementsExceptControlMacros
ForEachMacros: [
'BITSET_FOREACH_SET',
'bi_foreach_block',
'bi_foreach_block_from',
'bi_foreach_block_from_rev',
@@ -51,6 +52,7 @@ ForEachMacros: [
'cs_update_vt_ctx',
'cs_while',
'foreach_batch',
'list_for_each_entry_safe',
'mir_foreach_block',
'mir_foreach_block_from',
'mir_foreach_bundle_in_block',
@@ -66,6 +68,8 @@ ForEachMacros: [
'mir_foreach_instr_in_block_scheduled_rev',
'mir_foreach_predecessor',
'mir_foreach_src',
'nir_foreach_variable_with_modes',
'nir_foreach_shader_in_variable',
'nodearray_dense_foreach',
'nodearray_dense_foreach_64',
'nodearray_sparse_foreach',