From 1bf384776647cab62c98bf9009a9e1ab12f81493 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sat, 1 Mar 2014 09:27:28 +0000 Subject: [C++11] Remove the R-value reference #if usage from the ADT and Support libraries. It is now always 1 in LLVM builds. llvm-svn: 202580 --- llvm/lib/Support/SmallPtrSet.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'llvm/lib/Support/SmallPtrSet.cpp') diff --git a/llvm/lib/Support/SmallPtrSet.cpp b/llvm/lib/Support/SmallPtrSet.cpp index f7b8a7723cf..844e41696f9 100644 --- a/llvm/lib/Support/SmallPtrSet.cpp +++ b/llvm/lib/Support/SmallPtrSet.cpp @@ -186,7 +186,6 @@ SmallPtrSetImplBase::SmallPtrSetImplBase(const void **SmallStorage, NumTombstones = that.NumTombstones; } -#if LLVM_HAS_RVALUE_REFERENCES SmallPtrSetImplBase::SmallPtrSetImplBase(const void **SmallStorage, unsigned SmallSize, SmallPtrSetImplBase &&that) { @@ -214,7 +213,6 @@ SmallPtrSetImplBase::SmallPtrSetImplBase(const void **SmallStorage, that.NumElements = 0; that.NumTombstones = 0; } -#endif /// CopyFrom - implement operator= from a smallptrset that has the same pointer /// type, but may have a different small size. @@ -254,7 +252,6 @@ void SmallPtrSetImplBase::CopyFrom(const SmallPtrSetImplBase &RHS) { NumTombstones = RHS.NumTombstones; } -#if LLVM_HAS_RVALUE_REFERENCES void SmallPtrSetImplBase::MoveFrom(unsigned SmallSize, SmallPtrSetImplBase &&RHS) { assert(&RHS != this && "Self-move should be handled by the caller."); @@ -282,7 +279,6 @@ void SmallPtrSetImplBase::MoveFrom(unsigned SmallSize, RHS.NumElements = 0; RHS.NumTombstones = 0; } -#endif void SmallPtrSetImplBase::swap(SmallPtrSetImplBase &RHS) { if (this == &RHS) return; -- cgit v1.2.3