[clang] [Clang][CodeGen] Start migrating away from assuming the Default AS is 0 (PR #88182)
Alex Voicu via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 23 17:01:00 PDT 2024
================
@@ -2216,7 +2216,7 @@ static llvm::Value *EmitTypeidFromVTable(CodeGenFunction &CGF, const Expr *E,
}
llvm::Value *CodeGenFunction::EmitCXXTypeidExpr(const CXXTypeidExpr *E) {
- llvm::Type *PtrTy = llvm::PointerType::getUnqual(getLLVMContext());
+ llvm::Type *PtrTy = Int8PtrTy;
----------------
AlexVlx wrote:
Done-ish, please let me know if this is not actually helpful in clarifying and I can refine / reword.
https://github.com/llvm/llvm-project/pull/88182
More information about the cfe-commits
mailing list