diff options
author | Anders Carlsson <andersca@mac.com> | 2009-12-15 20:51:39 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-12-15 20:51:39 +0000 |
commit | 6e997b2993d77e125f658908246eede2a69f9bff (patch) | |
tree | 24b8b6044d8e725ad31bc936a07b3623443392c3 /clang/lib/AST/StmtProfile.cpp | |
parent | 1316249ad27415215de7764f7796bb20a72345e6 (diff) | |
download | bcm5719-llvm-6e997b2993d77e125f658908246eede2a69f9bff.tar.gz bcm5719-llvm-6e997b2993d77e125f658908246eede2a69f9bff.zip |
ShouldDestroyTemporaries? I don't think so.
llvm-svn: 91450
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r-- | clang/lib/AST/StmtProfile.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp index e2d772b7dd1..b74e1ef0bab 100644 --- a/clang/lib/AST/StmtProfile.cpp +++ b/clang/lib/AST/StmtProfile.cpp @@ -540,7 +540,6 @@ StmtProfiler::VisitDependentScopeDeclRefExpr(DependentScopeDeclRefExpr *S) { void StmtProfiler::VisitCXXExprWithTemporaries(CXXExprWithTemporaries *S) { VisitExpr(S); - ID.AddBoolean(S->shouldDestroyTemporaries()); for (unsigned I = 0, N = S->getNumTemporaries(); I != N; ++I) VisitDecl( const_cast<CXXDestructorDecl *>(S->getTemporary(I)->getDestructor())); |