[libcxx-commits] [PATCH] D156741: [IR] Deprecate some old methods for getting typed pointer types

Arthur Eubanks via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 11 12:07:10 PDT 2023


aeubanks added inline comments.


================
Comment at: llvm/include/llvm/IR/Type.h:491
+  [[deprecated("Pointers no longer have element types")]]
+  inline PointerType *getHalfPtrTy(LLVMContext &C, unsigned AS = 0) {
+    return getInt8PtrTy(C, AS);
----------------
these are no longer static, that looks unintentional. probably nobody is using these anymore because they're not static, might as well just remove them or make them static again


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156741



More information about the libcxx-commits mailing list