Second attempt to fix WinEHCatchDirector build failures.
authorAndrew Kaylor <andrew.kaylor@intel.com>
Mon, 23 Feb 2015 20:44:34 +0000 (20:44 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Mon, 23 Feb 2015 20:44:34 +0000 (20:44 +0000)
llvm-svn: 230257

llvm/include/llvm/Transforms/Utils/Cloning.h
llvm/lib/CodeGen/WinEHPrepare.cpp

index 0aca1ab..d1563ef 100644 (file)
@@ -147,7 +147,7 @@ public:
     StopCloningBB
   };
 
-  virtual ~CloningDirector() = default;
+  virtual ~CloningDirector() {}
 
   /// Subclasses must override this function to customize cloning behavior.
   virtual CloningAction handleInstruction(ValueToValueMapTy &VMap,
index d965064..422ef5a 100644 (file)
@@ -96,7 +96,6 @@ public:
         Materializer(CatchFn, VarInfo),\r
         SelectorIDType(Type::getInt32Ty(LPI->getContext())),\r
         Int8PtrType(Type::getInt8PtrTy(LPI->getContext())) {}\r
-  virtual ~WinEHCatchDirector() = default;\r
 \r
   CloningAction handleInstruction(ValueToValueMapTy &VMap,\r
                                   const Instruction *Inst,\r