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:
Anthony Latsis
2025-07-20 01:02:59 +01:00
parent f40d3b4c2e
commit 2920ea84d1
17 changed files with 78 additions and 71 deletions

View File

@@ -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());