[PATCH] D77229: [Analyzer][WIP] Avoid handling of LazyCompundVals in IteratorModeling
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 6 04:17:56 PDT 2020
NoQ added a comment.
Uh-oh, it's annoying indeed that you can't easily obtain the current CFG element from inside a `CallEvent`.
Given that every `CallEvent` is in fact associated with a `CFGElement` (but not every `CallEvent` is associated with an `Expr` or have a `Decl`), can we modify the `CallEvent` structure to store a `CFGElementRef` //instead// of `llvm::PointerUnion<const Expr *, const Decl *> Origin;`? That might be some work but it should increase our sanity by a lot.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77229/new/
https://reviews.llvm.org/D77229
More information about the cfe-commits
mailing list