[llvm] [EquivClasses] Strip testing member_end (PR #130350)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 7 13:34:23 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-adt

Author: Ramkumar Ramachandra (artagnon)

<details>
<summary>Changes</summary>

It is causing test failures. See https://lab.llvm.org/buildbot/#/builders/65/builds/13399.

-- 8< --
There seems to be no end to issues. I think this is a reasonable compromise.

---
Full diff: https://github.com/llvm/llvm-project/pull/130350.diff


1 Files Affected:

- (modified) llvm/unittests/ADT/EquivalenceClassesTest.cpp (-1) 


``````````diff
diff --git a/llvm/unittests/ADT/EquivalenceClassesTest.cpp b/llvm/unittests/ADT/EquivalenceClassesTest.cpp
index c24c09d8a2815..27918ce01184f 100644
--- a/llvm/unittests/ADT/EquivalenceClassesTest.cpp
+++ b/llvm/unittests/ADT/EquivalenceClassesTest.cpp
@@ -77,7 +77,6 @@ TEST(EquivalenceClassesTest, MembersIterator) {
 
   EquivalenceClasses<int>::iterator I = EC.findValue(EC.getLeaderValue(1));
   EXPECT_THAT(EC.members(I), testing::ElementsAre(5, 1, 2));
-  EXPECT_EQ(EC.members(EC.end()).begin(), EC.member_end());
 }
 
 // Type-parameterized tests: Run the same test cases with different element

``````````

</details>


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


More information about the llvm-commits mailing list