[clang] [CodeGen][ObjCGNU] Replace PointerType::getUnqual(Type) with opaque pointer version (NFC) (PR #128715)
Mats Jun Larsen via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 25 05:46:29 PST 2025
================
@@ -2284,10 +2284,12 @@ CGObjCGNU::CGObjCGNU(CodeGenModule &cgm, unsigned runtimeABIVersion,
BoolTy = CGM.getTypes().ConvertType(CGM.getContext().BoolTy);
Int8Ty = llvm::Type::getInt8Ty(VMContext);
+
+ PtrTy = llvm::PointerType::getUnqual(cgm.getLLVMContext());
----------------
junlarsen wrote:
Simply re-ordered initialization here so the other types can refer to PtrTy
https://github.com/llvm/llvm-project/pull/128715
More information about the cfe-commits
mailing list