================
@@ -731,33 +731,36 @@ void 
CheckerManager::runCheckersForEvalCall(ExplodedNodeSet &Dst,
     ExplodedNodeSet checkDst;
     NodeBuilder B(Pred, checkDst, Eng.getBuilderContext());
 
+    ProgramStateRef State = Pred->getState();
+    CallEventRef<> UpdatedCall = Call.cloneWithState(State);
----------------
steakhal wrote:

Why do we need to have an updated call here?
The original Call was supposed to be wrapping the Pred state, that we wrap here 
again.

In other words, I think `UpdatedCall` is always the same as `Call` here. So why 
don't we just use `Call`?

https://github.com/llvm/llvm-project/pull/160707
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to