aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2012-02-16 11:35:52 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2012-02-16 11:35:52 +0000
commit1548d14f4092a817f7d90ad3e7a65266dc85fbc5 (patch)
tree9598a6e0e3d1961c32a7ab570360ada0a543eb6c /lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
parent5f688f4b15d02aa7ad159c46b1f78fe59d412f12 (diff)
Revert "Make CXXNewExpr contain only a single initialier, and not hold the used constructor itself."
It leads to a compiler crash in the Bullet benchmark. This reverts commit r12014. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ExprEngineCXX.cpp')
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngineCXX.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp b/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
index 7a5cb87777..cd636aead8 100644
--- a/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
+++ b/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
@@ -268,8 +268,6 @@ void ExprEngine::VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred,
return;
}
- // FIXME: Update for AST changes.
-#if 0
// Evaluate constructor arguments.
const FunctionProtoType *FnType = NULL;
const CXXConstructorDecl *CD = CNE->getConstructor();
@@ -329,7 +327,6 @@ void ExprEngine::VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred,
loc::MemRegionVal(EleReg));
Bldr.generateNode(CNE, *I, state);
}
-#endif
}
void ExprEngine::VisitCXXDeleteExpr(const CXXDeleteExpr *CDE,