diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Support/Caching.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/Support/Caching.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/Support/Caching.cpp b/contrib/llvm-project/llvm/lib/Support/Caching.cpp index 628e23e1cb3d..1ef51db218e8 100644 --- a/contrib/llvm-project/llvm/lib/Support/Caching.cpp +++ b/contrib/llvm-project/llvm/lib/Support/Caching.cpp @@ -163,8 +163,8 @@ Expected<FileCache> llvm::localCache(const Twine &CacheNameRef, // This CacheStream will move the temporary file into the cache when done. return std::make_unique<CacheStream>( std::make_unique<raw_fd_ostream>(Temp->FD, /* ShouldClose */ false), - AddBuffer, std::move(*Temp), std::string(EntryPath.str()), - ModuleName.str(), Task); + AddBuffer, std::move(*Temp), std::string(EntryPath), ModuleName.str(), + Task); }; }; } |