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

I'm not opposed to this in principle; might have some additional benefits in 
that it forces people to knowingly opt for something via 
`PointerType::getUnqual` / `PointerType::get(some_as)`, rather than 
accidentally stumbling into it.

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

Reply via email to