r206420 - Attempting to unbreak the MSVC 2012 build a second time.

Aaron Ballman aaron at aaronballman.com
Wed Apr 16 14:32:23 PDT 2014


Author: aaronballman
Date: Wed Apr 16 16:32:23 2014
New Revision: 206420

URL: http://llvm.org/viewvc/llvm-project?rev=206420&view=rev
Log:
Attempting to unbreak the MSVC 2012 build a second time.

Modified:
    cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyCommon.h

Modified: cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyCommon.h?rev=206420&r1=206419&r2=206420&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyCommon.h (original)
+++ cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyCommon.h Wed Apr 16 16:32:23 2014
@@ -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;





More information about the cfe-commits mailing list