Skip to content

Commit 90350dc

Browse files
committed
Fixing Debian 11: llvm::Error deleted constructor
1 parent 5dc9d56 commit 90350dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Frontend/CompileJobCache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ Expected<std::optional<int>> CompileJobCache::replayCachedResult(
545545
.replayCachedResult(CacheKey, CachedResult,
546546
/*JustComputedResult*/ false)
547547
.moveInto(Ret))
548-
return E;
548+
return std::move(E);
549549

550550
if (Clang.getDiagnostics().hasErrorOccurred())
551551
return llvm::createStringError(llvm::inconvertibleErrorCode(),

0 commit comments

Comments
 (0)