File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -992,7 +992,7 @@ void ASTWorker::updatePreamble(std::unique_ptr<CompilerInvocation> CI,
992
992
std::shared_ptr<const PreambleData> Preamble,
993
993
std::vector<Diag> CIDiags,
994
994
WantDiagnostics WantDiags) {
995
- std::string TaskName = llvm::formatv ( " Build AST for ({0}) " , PI. Version ) ;
995
+ llvm::StringLiteral TaskName = " Build AST" ;
996
996
// Store preamble and build diagnostics with new preamble if requested.
997
997
auto Task = [this , Preamble = std::move (Preamble), CI = std::move (CI),
998
998
PI = std::move (PI), CIDiags = std::move (CIDiags),
@@ -1032,7 +1032,7 @@ void ASTWorker::updatePreamble(std::unique_ptr<CompilerInvocation> CI,
1032
1032
}
1033
1033
{
1034
1034
std::lock_guard<std::mutex> Lock (Mutex);
1035
- PreambleRequests.push_back ({std::move (Task), std::move (TaskName),
1035
+ PreambleRequests.push_back ({std::move (Task), std::string (TaskName),
1036
1036
steady_clock::now (), Context::current ().clone (),
1037
1037
llvm::None, llvm::None,
1038
1038
TUScheduler::NoInvalidation, nullptr });
You can’t perform that action at this time.
0 commit comments