[llvm] [IR] Deprecate PointerType::get/getUnqual pointee type overload (PR #134517)

Mats Jun Larsen via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 6 03:53:53 PDT 2025


================
@@ -685,13 +685,19 @@ class PointerType : public Type {
 
   /// This constructs a pointer to an object of the specified type in a numbered
   /// address space.
+  LLVM_DEPRECATED("PointerType::get with pointee type is pending removal. Use "
+                  "Context overload.",
+                  "PointerType::get(LLVMContext, AS)")
----------------
junlarsen wrote:

Thanks for the heads up! Taken care of in b3c03d6bdad9f82834984f6aff0bca9c19af8afb

https://github.com/llvm/llvm-project/pull/134517


More information about the llvm-commits mailing list