forked from OSchip/llvm-project
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:
parent
39321aa199
commit
76a2e985c3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue