From 36bbd3057ed11e48b664a9f9d399d33339448880 Mon Sep 17 00:00:00 2001 From: Chris Friedt Date: Sun, 21 Apr 2024 10:03:09 -0400 Subject: [PATCH] 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 --- .clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-format b/.clang-format index 1501274714..dafdf80fab 100644 --- a/.clang-format +++ b/.clang-format @@ -43,6 +43,7 @@ ForEachMacros: - 'SYS_DLIST_FOR_EACH_CONTAINER_SAFE' - 'SYS_DLIST_FOR_EACH_NODE' - 'SYS_DLIST_FOR_EACH_NODE_SAFE' + - 'SYS_SEM_LOCK' - 'SYS_SFLIST_FOR_EACH_CONTAINER' - 'SYS_SFLIST_FOR_EACH_CONTAINER_SAFE' - 'SYS_SFLIST_FOR_EACH_NODE'