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 | 4765fa05b5652fcc4356371c2f481d0ea9a1b007 (patch) | |
tree | 82e9de9098859a89427f187c0a7eaae82ab788e2 /lib/Checker/GRExprEngine.cpp | |
parent | cd940a1e13e588a43973cd7ae33b5c33a3062739 (diff) |
Rename CXXExprWithTemporaries -> ExprWithCleanups; there's no theoretical
reason this is limited to C++, and it's certainly not limited to temporaries.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120996 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/GRExprEngine.cpp')
-rw-r--r-- | lib/Checker/GRExprEngine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Checker/GRExprEngine.cpp b/lib/Checker/GRExprEngine.cpp index c40c34118e..4d6dc13c36 100644 --- a/lib/Checker/GRExprEngine.cpp +++ b/lib/Checker/GRExprEngine.cpp @@ -797,7 +797,7 @@ void GRExprEngine::Visit(const Stmt* S, ExplodedNode* Pred, case Stmt::CXXCatchStmtClass: case Stmt::CXXDefaultArgExprClass: case Stmt::CXXDependentScopeMemberExprClass: - case Stmt::CXXExprWithTemporariesClass: + case Stmt::ExprWithCleanupsClass: case Stmt::CXXNullPtrLiteralExprClass: case Stmt::CXXPseudoDestructorExprClass: case Stmt::CXXTemporaryObjectExprClass: @@ -1154,8 +1154,8 @@ void GRExprEngine::VisitLValue(const Expr* Ex, ExplodedNode* Pred, break; } - case Stmt::CXXExprWithTemporariesClass: { - const CXXExprWithTemporaries *expr = cast<CXXExprWithTemporaries>(Ex); + case Stmt::ExprWithCleanupsClass: { + const ExprWithCleanups *expr = cast<ExprWithCleanups>(Ex); VisitLValue(expr->getSubExpr(), Pred, Dst); break; } |