Kaynağa Gözat

Add for-each macros to clang-format.

Pierre Wendling 3 yıl önce
ebeveyn
işleme
973424d9cb
1 değiştirilmiş dosya ile 10 ekleme ve 0 silme
  1. 10 0
      .clang-format

+ 10 - 0
.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",
+  ]
+
 ---