From 5a0b1b1628a29e2000ad091807d332c4bb57edb1 Mon Sep 17 00:00:00 2001 From: Chris Friedt Date: Tue, 23 Apr 2024 13:47:13 -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 8a170fe5c25..6cc25296b7d 100644 --- a/.clang-format +++ b/.clang-format @@ -46,6 +46,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'