summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGTemporaries.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-12-06 08:20:24 +0000
committerJohn McCall <rjmccall@apple.com>2010-12-06 08:20:24 +0000
commit5d41378146ad784843bedd870ffa6dda3966edc4 (patch)
tree7a38cf1ba1b6b307d8196f44299ada5f671f0ba7 /clang/lib/CodeGen/CGTemporaries.cpp
parentfb212de06ded3800d99fcf804c2ce8dbafe7dbf6 (diff)
downloadbcm5719-llvm-5d41378146ad784843bedd870ffa6dda3966edc4.tar.gz
bcm5719-llvm-5d41378146ad784843bedd870ffa6dda3966edc4.zip
Rename CXXExprWithTemporaries -> ExprWithCleanups; there's no theoretical
reason this is limited to C++, and it's certainly not limited to temporaries. llvm-svn: 120996
Diffstat (limited to 'clang/lib/CodeGen/CGTemporaries.cpp')
-rw-r--r--clang/lib/CodeGen/CGTemporaries.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGTemporaries.cpp b/clang/lib/CodeGen/CGTemporaries.cpp
index ba01b72e543..6dd3a2e8bda 100644
--- a/clang/lib/CodeGen/CGTemporaries.cpp
+++ b/clang/lib/CodeGen/CGTemporaries.cpp
@@ -76,14 +76,13 @@ void CodeGenFunction::EmitCXXTemporary(const CXXTemporary *Temporary,
}
RValue
-CodeGenFunction::EmitCXXExprWithTemporaries(const CXXExprWithTemporaries *E,
- AggValueSlot Slot) {
+CodeGenFunction::EmitExprWithCleanups(const ExprWithCleanups *E,
+ AggValueSlot Slot) {
RunCleanupsScope Scope(*this);
return EmitAnyExpr(E->getSubExpr(), Slot);
}
-LValue CodeGenFunction::EmitCXXExprWithTemporariesLValue(
- const CXXExprWithTemporaries *E) {
+LValue CodeGenFunction::EmitExprWithCleanupsLValue(const ExprWithCleanups *E) {
RunCleanupsScope Scope(*this);
return EmitLValue(E->getSubExpr());
}
OpenPOWER on IntegriCloud