================
@@ -3688,12 +3683,15 @@ void ExprEngine::evalLocation(ExplodedNodeSet &Dst,
// "Variable 'p' initialized to a null pointer value"
static SimpleProgramPointTag tag(TagProviderName, "Location");
- Bldr.generateNode(NodeEx, Pred, state, &tag);
+ const ProgramPoint &L = ProgramPoint::getProgramPoint(
+ NodeEx, ProgramPoint::PostStmtKind, Pred->getStackFrame(), &tag);
----------------
NagyDonat wrote:
```suggestion
PostStmt L(NodeEx, Pred->getStackFrame(), &tag);
```
As above, no need for `getProgramPoint`.
https://github.com/llvm/llvm-project/pull/212186
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits