mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -367,9 +367,9 @@ static bool getModuleInterfaceInfo(
|
||||
if (!Group && InterestedUSR) {
|
||||
Group = findGroupNameForUSR(Mod, InterestedUSR.value());
|
||||
}
|
||||
printModuleInterface(Mod, Group.has_value()
|
||||
? llvm::makeArrayRef(Group.value())
|
||||
: ArrayRef<StringRef>(),
|
||||
printModuleInterface(Mod,
|
||||
Group.has_value() ? llvm::ArrayRef(Group.value())
|
||||
: ArrayRef<StringRef>(),
|
||||
TraversalOptions, Printer, Options,
|
||||
Group.has_value() && SynthesizedExtensions);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user