Merge pull request #71863 from bnbarham/remove-makearrayref

Use the new template deduction guides rather than `makeArrayRef`
This commit is contained in:
Ben Barham
2024-02-25 21:06:51 -08:00
committed by GitHub
122 changed files with 305 additions and 360 deletions

View File

@@ -741,7 +741,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)));