summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-12-15 20:51:39 +0000
committerAnders Carlsson <andersca@mac.com>2009-12-15 20:51:39 +0000
commit6e997b2993d77e125f658908246eede2a69f9bff (patch)
tree24b8b6044d8e725ad31bc936a07b3623443392c3 /clang/lib/AST/StmtProfile.cpp
parent1316249ad27415215de7764f7796bb20a72345e6 (diff)
downloadbcm5719-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.cpp1
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()));
OpenPOWER on IntegriCloud