From: Aaron Ballman Date: Wed, 16 Apr 2014 21:32:23 +0000 (+0000) Subject: Attempting to unbreak the MSVC 2012 build a second time. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b307d0bd44beaab8bc6c4d66b0fdc237a48bd5e;p=clang Attempting to unbreak the MSVC 2012 build a second time. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206420 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/Analyses/ThreadSafetyCommon.h b/include/clang/Analysis/Analyses/ThreadSafetyCommon.h index 619db082b1..994af713f6 100644 --- a/include/clang/Analysis/Analyses/ThreadSafetyCommon.h +++ b/include/clang/Analysis/Analyses/ThreadSafetyCommon.h @@ -281,6 +281,14 @@ private: : ExitMap(std::move(RHS.ExitMap)), HasBackEdges(RHS.HasBackEdges), SuccessorsToProcess(RHS.SuccessorsToProcess) {} + BlockInfo &operator=(BlockInfo &&RHS) { + if (this != &RHS) { + ExitMap = std::move(RHS.ExitMap); + HasBackEdges = RHS.HasBackEdges; + SuccessorsToProcess = RHS.SuccessorsToProcess; + } + return *this; + } private: BlockInfo(const BlockInfo &) LLVM_DELETED_FUNCTION; void operator=(const BlockInfo &) LLVM_DELETED_FUNCTION;