Skip to content

Commit d5af253

Browse files
asudarsaAnkur-0429
authored andcommitted
Fix a build error (llvm#133957)
This fixes error reported in post-commit testing of llvm#133797 LOG: https://lab.llvm.org/buildbot/#/builders/140/builds/20266 Thanks Signed-off-by: Arvind Sudarsanam <arvind.sudarsanam@intel.com>
1 parent 90ac820 commit d5af253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)