]> granicus.if.org Git - llvm/commitdiff
Try to appease MSVC on clang-x86-win2008-selfhost
authorSean Silva <chisophugis@gmail.com>
Tue, 14 Jun 2016 00:11:37 +0000 (00:11 +0000)
committerSean Silva <chisophugis@gmail.com>
Tue, 14 Jun 2016 00:11:37 +0000 (00:11 +0000)
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

include/llvm/Transforms/Scalar/JumpThreading.h

index 2fb5bb1a83934ed5b2ec2e24c3b0b3f1fa9ca76f..de6957c1226159bcdb4f3353a9239e6c171e7e6e 100644 (file)
@@ -84,6 +84,7 @@ class JumpThreadingPass : public PassInfoMixin<JumpThreadingPass> {
 
 public:
   JumpThreadingPass(int T = -1);
+  JumpThreadingPass(const JumpThreadingPass &) = delete;
 
   // Glue for old PM.
   bool runImpl(Function &F, TargetLibraryInfo *TLI_, LazyValueInfo *LVI_,