From c3a3c60040dfc39c38d878d928793288bfc3f139 Mon Sep 17 00:00:00 2001 From: Sebastian Redl Date: Thu, 16 Feb 2012 11:35:52 +0000 Subject: 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. llvm-svn: 150684 --- clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp') diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp index 7a5cb877772..cd636aead88 100644 --- a/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp +++ b/clang/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, -- cgit v1.2.3