Skip to content

Commit 36bbd30

Browse files
committed
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 <cfriedt@tenstorrent.com>
1 parent 3c6fdf2 commit 36bbd30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.clang-format

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ ForEachMacros:
4343
- 'SYS_DLIST_FOR_EACH_CONTAINER_SAFE'
4444
- 'SYS_DLIST_FOR_EACH_NODE'
4545
- 'SYS_DLIST_FOR_EACH_NODE_SAFE'
46+
- 'SYS_SEM_LOCK'
4647
- 'SYS_SFLIST_FOR_EACH_CONTAINER'
4748
- 'SYS_SFLIST_FOR_EACH_CONTAINER_SAFE'
4849
- 'SYS_SFLIST_FOR_EACH_NODE'

0 commit comments

Comments
 (0)