mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Address llvm::(Mutable)ArrayRef ctor deprecations
See: - https://github.com/llvm/llvm-project/pull/146113 - https://github.com/llvm/llvm-project/pull/146011
This commit is contained in:
@@ -1102,7 +1102,7 @@ static bool getModuleInterfaceInfo(ASTContext &Ctx, StringRef ModuleName,
|
||||
llvm::raw_svector_ostream OS(Text);
|
||||
AnnotatingPrinter Printer(OS);
|
||||
|
||||
printModuleInterface(M, std::nullopt, TraversalOptions, Printer, Options,
|
||||
printModuleInterface(M, /*GroupNames*/ {}, TraversalOptions, Printer, Options,
|
||||
true);
|
||||
|
||||
Info.Text = std::string(OS.str());
|
||||
|
||||
Reference in New Issue
Block a user