forked from OSchip/llvm-project
Similar bug fix to r47650; when processing CallExprs if we did not generate an
ExplodedNode for the Callee subexpression we would not evaluate the CallExpr transfer function. llvm-svn: 47651
This commit is contained in:
parent
76a2e985c3
commit
947528f000
|
@ -508,6 +508,7 @@ void GRExprEngine::VisitCall(CallExpr* CE, NodeTy* Pred,
|
|||
Expr* Callee = CE->getCallee()->IgnoreParenCasts();
|
||||
|
||||
VisitLVal(Callee, Pred, DstTmp);
|
||||
if (DstTmp.empty()) DstTmp.Add(Pred);
|
||||
|
||||
// Finally, evaluate the function call.
|
||||
for (NodeSet::iterator DI = DstTmp.begin(), DE = DstTmp.end(); DI!=DE; ++DI) {
|
||||
|
|
Loading…
Reference in New Issue