Mesa (main): radv, aco: Add u_foreach_bit to .clang-format.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Feb 22 15:19:18 UTC 2022


Module: Mesa
Branch: main
Commit: d223b7f096e5ddfa413309e8ba656c19bb209556
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d223b7f096e5ddfa413309e8ba656c19bb209556

Author: Georg Lehmann <dadschoorse at gmail.com>
Date:   Tue Feb 15 13:22:40 2022 +0100

radv, aco: Add u_foreach_bit to .clang-format.

Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15083>

---

 src/amd/.clang-format          | 2 ++
 src/amd/compiler/.clang-format | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/amd/.clang-format b/src/amd/.clang-format
index bb71cc795e2..6cf07d558fc 100644
--- a/src/amd/.clang-format
+++ b/src/amd/.clang-format
@@ -78,6 +78,8 @@ ForEachMacros:
   - foreach_def
   - foreach_use
   - set_foreach
+  - u_foreach_bit
+  - u_foreach_bit64
 
 IncludeBlocks: Preserve
 IncludeCategories:
diff --git a/src/amd/compiler/.clang-format b/src/amd/compiler/.clang-format
index 04dbbe6da69..787183879c0 100644
--- a/src/amd/compiler/.clang-format
+++ b/src/amd/compiler/.clang-format
@@ -84,6 +84,8 @@ ForEachMacros:
   - foreach_def
   - foreach_use
   - set_foreach
+  - u_foreach_bit
+  - u_foreach_bit64
 
 IncludeBlocks: Preserve
 IncludeCategories:



More information about the mesa-commit mailing list