[llvm] r230257 - Second attempt to fix WinEHCatchDirector build failures.

Andrew Kaylor andrew.kaylor at intel.com
Mon Feb 23 12:44:35 PST 2015


Author: akaylor
Date: Mon Feb 23 14:44:34 2015
New Revision: 230257

URL: http://llvm.org/viewvc/llvm-project?rev=230257&view=rev
Log:
Second attempt to fix WinEHCatchDirector build failures.


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

Modified: llvm/trunk/include/llvm/Transforms/Utils/Cloning.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/Cloning.h?rev=230257&r1=230256&r2=230257&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Utils/Cloning.h (original)
+++ llvm/trunk/include/llvm/Transforms/Utils/Cloning.h Mon Feb 23 14:44:34 2015
@@ -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,

Modified: llvm/trunk/lib/CodeGen/WinEHPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/WinEHPrepare.cpp?rev=230257&r1=230256&r2=230257&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/WinEHPrepare.cpp (original)
+++ llvm/trunk/lib/CodeGen/WinEHPrepare.cpp Mon Feb 23 14:44:34 2015
@@ -96,7 +96,6 @@ public:
         Materializer(CatchFn, VarInfo),
         SelectorIDType(Type::getInt32Ty(LPI->getContext())),
         Int8PtrType(Type::getInt8PtrTy(LPI->getContext())) {}
-  virtual ~WinEHCatchDirector() = default;
 
   CloningAction handleInstruction(ValueToValueMapTy &VMap,
                                   const Instruction *Inst,





More information about the llvm-commits mailing list