diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-01 09:36:06 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-01 09:36:06 +0000 |
commit | bad2104d24094ae254cb8c2439fc28797caa4b8e (patch) | |
tree | 3cd2406d8f59110093c9676a971f4ca233b1a007 /unittests/ADT/polymorphic_ptr_test.cpp | |
parent | bc1bddb4c63347e427bfe468e605eae1878c7880 (diff) | |
download | llvm-bad2104d24094ae254cb8c2439fc28797caa4b8e.tar.gz llvm-bad2104d24094ae254cb8c2439fc28797caa4b8e.tar.bz2 llvm-bad2104d24094ae254cb8c2439fc28797caa4b8e.tar.xz |
[C++11] Remove uses of LLVM_HAS_RVALUE_REFERENCES from the unittests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202583 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT/polymorphic_ptr_test.cpp')
-rw-r--r-- | unittests/ADT/polymorphic_ptr_test.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/unittests/ADT/polymorphic_ptr_test.cpp b/unittests/ADT/polymorphic_ptr_test.cpp index bd5d83879a..8198d1f32c 100644 --- a/unittests/ADT/polymorphic_ptr_test.cpp +++ b/unittests/ADT/polymorphic_ptr_test.cpp @@ -58,10 +58,6 @@ TEST(polymorphic_ptr_test, Basic) { EXPECT_EQ(42, p->x); polymorphic_ptr<S> p2((llvm_move(p))); -#if !LLVM_HAS_RVALUE_REFERENCES - // 'p' may not have been moved from in C++98, fake it for the test. - p2 = p.take(); -#endif EXPECT_FALSE((bool)p); EXPECT_TRUE(!p); EXPECT_TRUE((bool)p2); |