================
@@ -471,8 +471,9 @@ class Type {
   static Type *getWasm_FuncrefTy(LLVMContext &C);
 
   /// Return a pointer to the current type. This is equivalent to
-  /// PointerType::get(Foo, AddrSpace).
+  /// PointerType::get(Ctx, AddrSpace).
   /// TODO: Remove this after opaque pointer transition is complete.
+  [[deprecated("Use PointerType::get instead")]]
----------------
zwuis wrote:

Can we use `LLVM_DEPRECATED` in llvm/Support/Compiler.h?

https://github.com/llvm/llvm-project/pull/113331
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to