[clang] [clang][CodeGen] Make `UnqualPtrTy` truly unqualified (PR #94388)

Alexander Richardson via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 5 10:45:43 PDT 2024


================
@@ -51,9 +51,11 @@ struct CodeGenTypeCache {
     llvm::IntegerType *PtrDiffTy;
   };
 
+  /// unqualified void*
+  llvm::PointerType *UnqualPtrTy;
----------------
arichardson wrote:

I'd argue we should just remove this variable, and the few cases that actually want AS0 can call PointerType::get(0) directly.

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


More information about the cfe-commits mailing list