[PATCH] D153960: [clang][dataflow] Implement support for pointers to members.
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 28 04:50:12 PDT 2023
gribozavr2 requested changes to this revision.
gribozavr2 added a comment.
This revision now requires changes to proceed.
Using PointerValue to model pointers to data members does not look right to me, because a pointer to data member is an offset within an object that we apply this pointer to, it is not a specific storage location.
I think we either shouldn't be modeling them at all (current implementation) and fix any crashes in the downstream code to allow non-modeled constructs in more places, or we should have a distinct kind of Value for pointers to members.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153960/new/
https://reviews.llvm.org/D153960
More information about the cfe-commits
mailing list