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

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 7 13:33:47 PST 2025


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

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.

>From 9cc365165cc28070b126c8019abab9ea7d9ee58e Mon Sep 17 00:00:00 2001
From: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: Fri, 7 Mar 2025 21:30:16 +0000
Subject: [PATCH] [EquivClasses] Strip testing member_end

It is causing test failures. See
https://lab.llvm.org/buildbot/#/builders/65/builds/13399.
---
 llvm/unittests/ADT/EquivalenceClassesTest.cpp | 1 -
 1 file changed, 1 deletion(-)

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



More information about the llvm-commits mailing list