Skip to content

Commit 5a0b1b1

Browse files
cfriedtfabiobaltieri
authored andcommitted
clang-format: add entry for SYS_SEM_LOCK()
SYS_SEM_LOCK() is a for-loop-like macro similar inspired by K_SPINLOCK(). Add an entry to .clang-format so that autoformatting works as expected. Signed-off-by: Chris Friedt <[email protected]>
1 parent 5d29e13 commit 5a0b1b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ ForEachMacros:
4646
- 'SYS_DLIST_FOR_EACH_CONTAINER_SAFE'
4747
- 'SYS_DLIST_FOR_EACH_NODE'
4848
- 'SYS_DLIST_FOR_EACH_NODE_SAFE'
49+
- 'SYS_SEM_LOCK'
4950
- 'SYS_SFLIST_FOR_EACH_CONTAINER'
5051
- 'SYS_SFLIST_FOR_EACH_CONTAINER_SAFE'
5152
- 'SYS_SFLIST_FOR_EACH_NODE'

0 commit comments

Comments
 (0)