[llvm] [EquivClasses] Introduce members iterator-helper (PR #130139)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 7 03:05:45 PST 2025


================
@@ -178,6 +179,9 @@ class EquivalenceClasses {
   member_iterator member_end() const {
     return member_iterator(nullptr);
   }
+  iterator_range<member_iterator> members(iterator I) const {
+    return make_range(member_begin(I), member_end());
+  }
----------------
artagnon wrote:

Fixed, thanks.

https://github.com/llvm/llvm-project/pull/130139


More information about the llvm-commits mailing list