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.
2 parents 5dc9d56 + 90350dc commit 5f5bcccCopy full SHA for 5f5bccc
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