[PATCH] D145717: [llvm-c] Remove typed pointer APIs

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 13:04:48 PST 2023


nikic added a comment.

In D145717#4182480 <https://reviews.llvm.org/D145717#4182480>, @aeubanks wrote:

> my motivation for this is to prevent people from being able to add code to our repo that relies on typed pointers. just removing `LLVMPointerTypeIsOpaque` and the pointer branch in `LLVMGetElementType` should achieve that, does that sound ok?

That would be fine I think. Though possible just dropping the branch from `LLVMGetElementType` is enough?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145717/new/

https://reviews.llvm.org/D145717



More information about the llvm-commits mailing list