diff options
author | John McCall <rjmccall@apple.com> | 2010-12-06 08:20:24 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-12-06 08:20:24 +0000 |
commit | 5d41378146ad784843bedd870ffa6dda3966edc4 (patch) | |
tree | 7a38cf1ba1b6b307d8196f44299ada5f671f0ba7 /clang/lib/CodeGen/CGExprAgg.cpp | |
parent | fb212de06ded3800d99fcf804c2ce8dbafe7dbf6 (diff) | |
download | bcm5719-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/CGExprAgg.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGExprAgg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp index ffe1739a0ec..cf1c7415bc8 100644 --- a/clang/lib/CodeGen/CGExprAgg.cpp +++ b/clang/lib/CodeGen/CGExprAgg.cpp @@ -125,7 +125,7 @@ public: } void VisitCXXBindTemporaryExpr(CXXBindTemporaryExpr *E); void VisitCXXConstructExpr(const CXXConstructExpr *E); - void VisitCXXExprWithTemporaries(CXXExprWithTemporaries *E); + void VisitExprWithCleanups(ExprWithCleanups *E); void VisitCXXScalarValueInitExpr(CXXScalarValueInitExpr *E); void VisitCXXTypeidExpr(CXXTypeidExpr *E) { EmitAggLoadOfLValue(E); } @@ -487,8 +487,8 @@ AggExprEmitter::VisitCXXConstructExpr(const CXXConstructExpr *E) { CGF.EmitCXXConstructExpr(E, Slot); } -void AggExprEmitter::VisitCXXExprWithTemporaries(CXXExprWithTemporaries *E) { - CGF.EmitCXXExprWithTemporaries(E, Dest); +void AggExprEmitter::VisitExprWithCleanups(ExprWithCleanups *E) { + CGF.EmitExprWithCleanups(E, Dest); } void AggExprEmitter::VisitCXXScalarValueInitExpr(CXXScalarValueInitExpr *E) { |