mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +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:
@@ -78,7 +78,7 @@ int main2(int argc, const char *argv[]) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Observer observer(llvm::makeArrayRef(argBegin, dashDash));
|
||||
Observer observer(llvm::ArrayRef(argBegin, dashDash));
|
||||
|
||||
// Set up the frontend arguments.
|
||||
unsigned numFrontendArgs = argEnd - (dashDash + 1);
|
||||
|
||||
Reference in New Issue
Block a user