Skip to content

clang-format: extend ForeachMacros with libwayland usages

David Edmundson requested to merge work/wl_foreach into master

wl_resource_for_each_safe is used in kwayland-server, and as the name suggests is a for-each like function.

Testing done: Running clang-format in that repo now yeilds

-    wl_resource_for_each_safe(resource, tmp, &cached.frameCallbacks)
-    {
+    wl_resource_for_each_safe (resource, tmp, &cached.frameCallbacks) {

Merge request reports