Author: dblaikie Date: Thu Mar 17 15:45:38 2016 New Revision: 263747 URL: http://llvm.org/viewvc/llvm-project?rev=263747&view=rev Log: Re-add (user defined) move ops to UnresolvedSetImpl to allow UnresolvedSet to be implicitly movable
Modified: cfe/trunk/include/clang/AST/UnresolvedSet.h Modified: cfe/trunk/include/clang/AST/UnresolvedSet.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/UnresolvedSet.h?rev=263747&r1=263746&r2=263747&view=diff ============================================================================== --- cfe/trunk/include/clang/AST/UnresolvedSet.h (original) +++ cfe/trunk/include/clang/AST/UnresolvedSet.h Thu Mar 17 15:45:38 2016 @@ -63,6 +63,10 @@ private: UnresolvedSetImpl(const UnresolvedSetImpl &) = default; UnresolvedSetImpl &operator=(const UnresolvedSetImpl &) = default; + // FIXME: Switch these to "= default" once MSVC supports generating move ops + UnresolvedSetImpl(UnresolvedSetImpl &&) {} + UnresolvedSetImpl &operator=(UnresolvedSetImpl &&) { return *this; } + public: // We don't currently support assignment through this iterator, so we might // as well use the same implementation twice. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits