From 973424d9cb5d6723dff5e6c2fb36034657485895 Mon Sep 17 00:00:00 2001
From: Pierre Wendling <[EMAIL REDACTED]>
Date: Fri, 6 May 2022 12:08:44 -0400
Subject: [PATCH] Add for-each macros to clang-format.
---
.clang-format | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.clang-format b/.clang-format
index b3ed5c9a55a..01d4945e7e6 100644
--- a/.clang-format
+++ b/.clang-format
@@ -72,5 +72,15 @@ SpaceInEmptyParentheses: false
UseCRLF: false
UseTab: Never
+
+ForEachMacros:
+ [
+ "spa_list_for_each",
+ "spa_list_for_each_safe",
+ "wl_list_for_each",
+ "wl_array_for_each",
+ "udev_list_entry_foreach",
+ ]
+
---