From 3db5c5884535c15f463e5053ac48c7fb725e0b0f Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Thu, 10 Sep 2015 20:07:25 +0000 Subject: [PATCH] Correct the return type of CreateCleanupEndPad git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247331 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IR/IRBuilder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/IR/IRBuilder.h b/include/llvm/IR/IRBuilder.h index a515e165c50..8795addd1a5 100644 --- a/include/llvm/IR/IRBuilder.h +++ b/include/llvm/IR/IRBuilder.h @@ -681,8 +681,8 @@ public: return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB)); } - CatchEndPadInst *CreateCleanupEndPad(CleanupPadInst *CleanupPad, - BasicBlock *UnwindBB = nullptr) { + CleanupEndPadInst *CreateCleanupEndPad(CleanupPadInst *CleanupPad, + BasicBlock *UnwindBB = nullptr) { return Insert(CleanupEndPadInst::Create(CleanupPad, UnwindBB)); } -- 2.34.1