[PATCH] D103465: [OpaquePtr] Track pointee types in Clang

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 1 09:06:22 PDT 2021


aeubanks created this revision.
aeubanks added reviewers: dblaikie, rsmith.
aeubanks published this revision for review.
aeubanks added a comment.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This is definitely WIP, but I'd like to make sure that this is the right direction before continuing. And are there any other obvious places that also require this?


With pointee types going away in llvm::PointerType, the frontend needs
to keep track of pointee types.

Add a PointeeType to Address and LValue.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103465

Files:
  clang/lib/CodeGen/Address.h
  clang/lib/CodeGen/CGBlocks.cpp
  clang/lib/CodeGen/CGExpr.cpp
  clang/lib/CodeGen/CGValue.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103465.348987.patch
Type: text/x-patch
Size: 6523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210601/50eb3184/attachment.bin>


More information about the cfe-commits mailing list