Use the new template deduction guides rather than makeArrayRef

LLVM has removed `make*ArrayRef`, migrate all references to their
constructor equivalent.
This commit is contained in:
Ben Barham
2024-02-23 20:00:08 -08:00
parent b4a5ad2f4d
commit f292ec9784
122 changed files with 305 additions and 360 deletions

View File

@@ -743,7 +743,7 @@ public:
// Create a synthesized ExtensionDecl for the conformance.
ASTContext &ctx = M->getASTContext();
auto inherits = ctx.AllocateCopy(llvm::makeArrayRef(InheritedEntry(
auto inherits = ctx.AllocateCopy(llvm::ArrayRef(InheritedEntry(
TypeLoc::withoutLoc(proto->getDeclaredInterfaceType()), isUnchecked,
/*isRetroactive=*/false,
/*isPreconcurrency=*/false)));