Skip to content

Commit 2b06410

Browse files
authored
Fix a build error (#133957)
This fixes error reported in post-commit testing of #133797 LOG: https://lab.llvm.org/buildbot/#/builders/140/builds/20266 Thanks Signed-off-by: Arvind Sudarsanam <[email protected]>
1 parent 7948775 commit 2b06410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Expected<std::unique_ptr<Module>> getBitcodeModule(StringRef File,
205205

206206
auto M = getLazyIRFileModule(File, Err, C);
207207
if (M)
208-
return M;
208+
return std::move(M);
209209
return createStringError(Err.getMessage());
210210
}
211211

0 commit comments

Comments
 (0)