[cfe-dev] Making clang work with opaque pointers

Arthur Eubanks via cfe-dev cfe-dev at lists.llvm.org
Thu Jul 8 16:46:15 PDT 2021


As part of the opaque pointers migration
<https://llvm.org/docs/OpaquePointers.html>, we need to make the clang
frontend not depend on PointerType's pointee type. There are a couple
random places that need to be fixed up to not use
PointerType::getElementType and Type::getPointerElementType(), but the
biggest issue is (I believe) clang::CodeGen::Address (and LValue/RValue?).

I had a very preliminary attempt in https://reviews.llvm.org/D103465 but am
not super familiar with the clang frontend. Is there anybody more familiar
with clang who'd be willing to make clang work with opaque pointers?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20210708/7f6ed90f/attachment.html>


More information about the cfe-dev mailing list