diff options
Diffstat (limited to 'llvm/unittests/ADT')
| -rw-r--r-- | llvm/unittests/ADT/SmallPtrSetTest.cpp | 2 | ||||
| -rw-r--r-- | llvm/unittests/ADT/polymorphic_ptr_test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/ADT/SmallPtrSetTest.cpp b/llvm/unittests/ADT/SmallPtrSetTest.cpp index 675f3373063..fdd1cbb6004 100644 --- a/llvm/unittests/ADT/SmallPtrSetTest.cpp +++ b/llvm/unittests/ADT/SmallPtrSetTest.cpp @@ -143,7 +143,7 @@ TEST(SmallPtrSetTest, CopyAndMoveTest) { s3.insert(&buf[5]); s3.insert(&buf[6]); s3.insert(&buf[7]); - s1 = llvm_move(s3); + s1 = std::move(s3); EXPECT_EQ(8U, s1.size()); EXPECT_TRUE(s3.empty()); for (int i = 0; i < 8; ++i) diff --git a/llvm/unittests/ADT/polymorphic_ptr_test.cpp b/llvm/unittests/ADT/polymorphic_ptr_test.cpp index 8198d1f32c0..12e57da7d49 100644 --- a/llvm/unittests/ADT/polymorphic_ptr_test.cpp +++ b/llvm/unittests/ADT/polymorphic_ptr_test.cpp @@ -57,7 +57,7 @@ TEST(polymorphic_ptr_test, Basic) { EXPECT_EQ(s, p.get()); EXPECT_EQ(42, p->x); - polymorphic_ptr<S> p2((llvm_move(p))); + polymorphic_ptr<S> p2((std::move(p))); EXPECT_FALSE((bool)p); EXPECT_TRUE(!p); EXPECT_TRUE((bool)p2); |

