Fixed bug in the core transfer function logic for CallExprs where we would

sometimes skip evaluating all the arguments when some arguments would not
create new ExplodedNodes.

llvm-svn: 47650
This commit is contained in:
Ted Kremenek 2008-02-27 00:44:11 +00:00
parent 39321aa199
commit 76a2e985c3
1 changed files with 3 additions and 0 deletions

View File

@ -490,7 +490,10 @@ void GRExprEngine::VisitCall(CallExpr* CE, NodeTy* Pred,
if (AI != AE) {
NodeSet DstTmp;
Visit(*AI, Pred, DstTmp);
if (DstTmp.empty()) DstTmp.Add(Pred);
++AI;
for (NodeSet::iterator DI=DstTmp.begin(), DE=DstTmp.end(); DI != DE; ++DI)