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

@@ -282,8 +282,8 @@ namespace driver {
"not implemented for compilations with multiple jobs");
if (Comp.getShowJobLifecycle())
llvm::outs() << "Added to TaskQueue: " << LogJob(Cmd) << "\n";
TQ->addTask(Cmd->getExecutable(), Cmd->getArgumentsForTaskExecution(),
std::nullopt, (void *)Cmd);
TQ->addTask(Cmd->getExecutable(), Cmd->getArgumentsForTaskExecution(), {},
(void *)Cmd);
}
/// When a task finishes, check other Jobs that may be blocked.