From 338d982b83ddf2f2c92d4bd4b6650557aeaeca42 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230257 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Utils/Cloning.h | 2 +- lib/CodeGen/WinEHPrepare.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h index 0aca1ab96d3..d1563efb09e 100644 --- a/include/llvm/Transforms/Utils/Cloning.h +++ b/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/lib/CodeGen/WinEHPrepare.cpp b/lib/CodeGen/WinEHPrepare.cpp index d9650642441..422ef5adc1d 100644 --- a/lib/CodeGen/WinEHPrepare.cpp +++ b/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.34.1