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/CGExprComplex.cpp | |
| parent | fb212de06ded3800d99fcf804c2ce8dbafe7dbf6 (diff) | |
| download | llvm-5d41378146ad784843bedd870ffa6dda3966edc4.zip llvm-5d41378146ad784843bedd870ffa6dda3966edc4.tar.gz llvm-5d41378146ad784843bedd870ffa6dda3966edc4.tar.bz2 | |
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/CGExprComplex.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGExprComplex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExprComplex.cpp b/clang/lib/CodeGen/CGExprComplex.cpp index 7896504..cf1e3f1 100644 --- a/clang/lib/CodeGen/CGExprComplex.cpp +++ b/clang/lib/CodeGen/CGExprComplex.cpp @@ -177,8 +177,8 @@ public: ComplexPairTy VisitCXXDefaultArgExpr(CXXDefaultArgExpr *DAE) { return Visit(DAE->getExpr()); } - ComplexPairTy VisitCXXExprWithTemporaries(CXXExprWithTemporaries *E) { - return CGF.EmitCXXExprWithTemporaries(E).getComplexVal(); + ComplexPairTy VisitExprWithCleanups(ExprWithCleanups *E) { + return CGF.EmitExprWithCleanups(E).getComplexVal(); } ComplexPairTy VisitCXXScalarValueInitExpr(CXXScalarValueInitExpr *E) { assert(E->getType()->isAnyComplexType() && "Expected complex type!"); |
