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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230257 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 0aca1ab96d3faf745475eb7d4f295a30b01baa39..d1563efb09e7f0e861af610fd24351146d533af8 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 d96506424417a556165e97f6f00353f8594c950f..422ef5adc1de1f30b6cd198f81aa3ed8408fd798 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