diff --git a/lib/CodeGen/WinEHPrepare.cpp b/lib/CodeGen/WinEHPrepare.cpp index 422ef5adc1d..d9650642441 100644 --- a/lib/CodeGen/WinEHPrepare.cpp +++ b/lib/CodeGen/WinEHPrepare.cpp @@ -96,6 +96,7 @@ public: Materializer(CatchFn, VarInfo), SelectorIDType(Type::getInt32Ty(LPI->getContext())), Int8PtrType(Type::getInt8PtrTy(LPI->getContext())) {} + virtual ~WinEHCatchDirector() = default; CloningAction handleInstruction(ValueToValueMapTy &VMap, const Instruction *Inst,