Skip to content

Commit 54e0c2b

Browse files
authored
[CodeGen][SystemZ] Replace PointerType::getUnqual(Type) with opaque version (NFC) (#126280)
Follow-up to #126278
1 parent 4e29148 commit 54e0c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/Targets/SystemZ.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ RValue SystemZABIInfo::EmitVAArg(CodeGenFunction &CGF, Address VAListAddr,
272272
SZCGI.handleExternallyVisibleObjABI(Ty.getTypePtr(), CGT.getCGM(),
273273
/*IsParam*/true);
274274
if (IsIndirect) {
275-
DirectTy = llvm::PointerType::getUnqual(DirectTy);
275+
DirectTy = llvm::PointerType::getUnqual(DirectTy->getContext());
276276
UnpaddedSize = DirectAlign = CharUnits::fromQuantity(8);
277277
} else {
278278
if (AI.getCoerceToType())

0 commit comments

Comments
 (0)