[PATCH] D53793: [ADT] Remove illegal comparison of singular iterators from SmallSetTest

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 31 04:03:17 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL345712: [ADT] Remove illegal comparison of singular iterators from SmallSetTest (authored by fhahn, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D53793

Files:
  llvm/trunk/unittests/ADT/SmallSetTest.cpp


Index: llvm/trunk/unittests/ADT/SmallSetTest.cpp
===================================================================
--- llvm/trunk/unittests/ADT/SmallSetTest.cpp
+++ llvm/trunk/unittests/ADT/SmallSetTest.cpp
@@ -142,8 +142,4 @@
   auto Iter2 = s1.begin();
   Iter = std::move(Iter2);
   EXPECT_EQ("str 0", *Iter);
-
-  auto Iter3 = s1.end();
-  Iter3 = Iter2;
-  EXPECT_EQ(Iter3, Iter2);
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53793.171889.patch
Type: text/x-patch
Size: 392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181031/b579e25a/attachment.bin>


More information about the llvm-commits mailing list