Build System: clang-format: add K_SPINLOCK to FOR_EACH
The K_SPINLOCK is been indented wrongly by clang-format. It fixes that adding the K_SPINLOCK to the FOR_EACH section rule tells the formatter to follow the rule to indent the code. Signed-off-by: Rodrigo Peixoto <rodrigopex@gmail.com>
This commit is contained in:
parent
b702c8e8f0
commit
2312897055
|
@ -67,6 +67,7 @@ ForEachMacros:
|
||||||
- 'Z_GENLIST_FOR_EACH_NODE_SAFE'
|
- 'Z_GENLIST_FOR_EACH_NODE_SAFE'
|
||||||
- 'STRUCT_SECTION_FOREACH'
|
- 'STRUCT_SECTION_FOREACH'
|
||||||
- 'TYPE_SECTION_FOREACH'
|
- 'TYPE_SECTION_FOREACH'
|
||||||
|
- 'K_SPINLOCK'
|
||||||
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…
Reference in a new issue