clang-format: flag *_SECTION_FOREACH as for loop
Improve clang-format handling for iterable sections. Signed-off-by: Yuval Peress <peress@google.com>
This commit is contained in:
parent
3c3132b639
commit
9c624fa9e6
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ ForEachMacros:
|
||||||
- 'Z_GENLIST_FOR_EACH_CONTAINER_SAFE'
|
- 'Z_GENLIST_FOR_EACH_CONTAINER_SAFE'
|
||||||
- 'Z_GENLIST_FOR_EACH_NODE'
|
- 'Z_GENLIST_FOR_EACH_NODE'
|
||||||
- 'Z_GENLIST_FOR_EACH_NODE_SAFE'
|
- 'Z_GENLIST_FOR_EACH_NODE_SAFE'
|
||||||
|
- 'STRUCT_SECTION_FOREACH'
|
||||||
|
- 'TYPE_SECTION_FOREACH'
|
||||||
IfMacros:
|
IfMacros:
|
||||||
- 'CHECKIF'
|
- 'CHECKIF'
|
||||||
# Disabled for now, see bug https://github.com/zephyrproject-rtos/zephyr/issues/48520
|
# Disabled for now, see bug https://github.com/zephyrproject-rtos/zephyr/issues/48520
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue