From 322236eed68d6ed3e7501d1d8a148854a4873059 Mon Sep 17 00:00:00 2001 From: Andrew Kaylor Date: Mon, 23 Feb 2015 20:44:34 +0000 Subject: [PATCH] Second attempt to fix WinEHCatchDirector build failures. llvm-svn: 230257 --- llvm/include/llvm/Transforms/Utils/Cloning.h | 2 +- llvm/lib/CodeGen/WinEHPrepare.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/include/llvm/Transforms/Utils/Cloning.h b/llvm/include/llvm/Transforms/Utils/Cloning.h index 0aca1ab..d1563ef 100644 --- a/llvm/include/llvm/Transforms/Utils/Cloning.h +++ b/llvm/include/llvm/Transforms/Utils/Cloning.h @@ -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, diff --git a/llvm/lib/CodeGen/WinEHPrepare.cpp b/llvm/lib/CodeGen/WinEHPrepare.cpp index d965064..422ef5a 100644 --- a/llvm/lib/CodeGen/WinEHPrepare.cpp +++ b/llvm/lib/CodeGen/WinEHPrepare.cpp @@ -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, -- 2.7.4