Rename LazyCleanup -> Cleanup. No functionality change for these last three
commits.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109000 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGTemporaries.cpp b/lib/CodeGen/CGTemporaries.cpp
index 018eb5f..dfb8dc6 100644
--- a/lib/CodeGen/CGTemporaries.cpp
+++ b/lib/CodeGen/CGTemporaries.cpp
@@ -16,7 +16,7 @@
using namespace CodeGen;
namespace {
- struct DestroyTemporary : EHScopeStack::LazyCleanup {
+ struct DestroyTemporary : EHScopeStack::Cleanup {
const CXXTemporary *Temporary;
llvm::Value *Addr;
llvm::Value *CondPtr;
@@ -71,8 +71,8 @@
Builder.CreateStore(Builder.getTrue(), CondPtr);
}
- EHStack.pushLazyCleanup<DestroyTemporary>(NormalAndEHCleanup,
- Temporary, Ptr, CondPtr);
+ EHStack.pushCleanup<DestroyTemporary>(NormalAndEHCleanup,
+ Temporary, Ptr, CondPtr);
}
RValue