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:
@@ -222,7 +222,7 @@ TEST(SmallMap, Basic) {
|
||||
{
|
||||
SmallMap<A, A> map;
|
||||
|
||||
auto entries = llvm::makeArrayRef(globalEntries);
|
||||
auto entries = llvm::ArrayRef(globalEntries);
|
||||
|
||||
for (size_t iteration : range(entries.size())) {
|
||||
EXPECT_EQ(iteration, map.size());
|
||||
|
||||
Reference in New Issue
Block a user