[llvm] 33b6fe1 - Revert "[NFC] Remote TODO regarding opaque ptr conversion"

Paulo Matos via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 31 08:45:58 PDT 2023


Author: Paulo Matos
Date: 2023-10-31T16:45:34+01:00
New Revision: 33b6fe1ff7c81e9841ba6cb4c82a0b70c78bdbed

URL: https://github.com/llvm/llvm-project/commit/33b6fe1ff7c81e9841ba6cb4c82a0b70c78bdbed
DIFF: https://github.com/llvm/llvm-project/commit/33b6fe1ff7c81e9841ba6cb4c82a0b70c78bdbed.diff

LOG: Revert "[NFC] Remote TODO regarding opaque ptr conversion"

This reverts commit d56eb823fc772bcfea266275da98cfe607b05b7f.

Added: 
    

Modified: 
    llvm/include/llvm/IR/Type.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/IR/Type.h b/llvm/include/llvm/IR/Type.h
index 63414cac4760795..c38078cc6087ef7 100644
--- a/llvm/include/llvm/IR/Type.h
+++ b/llvm/include/llvm/IR/Type.h
@@ -482,6 +482,9 @@ class Type {
   //===--------------------------------------------------------------------===//
   // Convenience methods for getting pointer types.
   //
+
+  // TODO: After opaque pointer transition this can be replaced by simply
+  //       calling PointerType::get(C, AS).
   static PointerType *getInt8PtrTy(LLVMContext &C, unsigned AS = 0);
 
   static Type *getWasm_ExternrefTy(LLVMContext &C);


        


More information about the llvm-commits mailing list