[llvm] r272601 - Try to appease MSVC on clang-x86-win2008-selfhost

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 17:11:39 PDT 2016

Author: silvas
Date: Mon Jun 13 19:11:37 2016
New Revision: 272601

URL: http://llvm.org/viewvc/llvm-project?rev=272601&view=rev
Try to appease MSVC on clang-x86-win2008-selfhost

I've tested this locally with VS2015 and there are no issues there,
so this might be a VS2013 specific issue.

Thanks to Davide for the suggested fix.


Modified: llvm/trunk/include/llvm/Transforms/Scalar/JumpThreading.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Scalar/JumpThreading.h?rev=272601&r1=272600&r2=272601&view=diff
--- llvm/trunk/include/llvm/Transforms/Scalar/JumpThreading.h (original)
+++ llvm/trunk/include/llvm/Transforms/Scalar/JumpThreading.h Mon Jun 13 19:11:37 2016
@@ -84,6 +84,7 @@ class JumpThreadingPass : public PassInf
   JumpThreadingPass(int T = -1);
+  JumpThreadingPass(const JumpThreadingPass &) = delete;
   // Glue for old PM.
   bool runImpl(Function &F, TargetLibraryInfo *TLI_, LazyValueInfo *LVI_,

More information about the llvm-commits mailing list