[llvm] r247331 - Correct the return type of CreateCleanupEndPad
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 13:07:26 PDT 2015
Author: rnk
Date: Thu Sep 10 15:07:25 2015
New Revision: 247331
URL: http://llvm.org/viewvc/llvm-project?rev=247331&view=rev
Log:
Correct the return type of CreateCleanupEndPad
Modified:
llvm/trunk/include/llvm/IR/IRBuilder.h
Modified: llvm/trunk/include/llvm/IR/IRBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/IRBuilder.h?rev=247331&r1=247330&r2=247331&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/IRBuilder.h (original)
+++ llvm/trunk/include/llvm/IR/IRBuilder.h Thu Sep 10 15:07:25 2015
@@ -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));
}
More information about the llvm-commits
mailing list