From: Sean Silva Date: Tue, 14 Jun 2016 00:11:37 +0000 (+0000) Subject: Try to appease MSVC on clang-x86-win2008-selfhost X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab158d97ccd0a09b534e75c8f7245c8cc57dfa12;p=llvm 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272601 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Scalar/JumpThreading.h b/include/llvm/Transforms/Scalar/JumpThreading.h index 2fb5bb1a839..de6957c1226 100644 --- a/include/llvm/Transforms/Scalar/JumpThreading.h +++ b/include/llvm/Transforms/Scalar/JumpThreading.h @@ -84,6 +84,7 @@ class JumpThreadingPass : public PassInfoMixin { public: JumpThreadingPass(int T = -1); + JumpThreadingPass(const JumpThreadingPass &) = delete; // Glue for old PM. bool runImpl(Function &F, TargetLibraryInfo *TLI_, LazyValueInfo *LVI_,