We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dc9d56 commit 90350dcCopy full SHA for 90350dc
clang/lib/Frontend/CompileJobCache.cpp
@@ -545,7 +545,7 @@ Expected<std::optional<int>> CompileJobCache::replayCachedResult(
545
.replayCachedResult(CacheKey, CachedResult,
546
/*JustComputedResult*/ false)
547
.moveInto(Ret))
548
- return E;
+ return std::move(E);
549
550
if (Clang.getDiagnostics().hasErrorOccurred())
551
return llvm::createStringError(llvm::inconvertibleErrorCode(),
0 commit comments