[clang] [clang][CodeGen] Simplify code based on opaque pointers (PR #65624)

Jessica Clarke via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 7 09:11:23 PDT 2023


================
@@ -51,14 +51,11 @@ struct CodeGenTypeCache {
     llvm::IntegerType *PtrDiffTy;
   };
 
-  /// void* in address space 0
+  /// void*, void** in address space 0
   union {
+    llvm::PointerType *UnqualPtrTy;
----------------
jrtc27 wrote:

(Presumably the IR type's nomenclature has its origins in C's language)

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


More information about the cfe-commits mailing list