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 4a17e86 commit c5cd049Copy full SHA for c5cd049
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
@@ -1195,7 +1195,7 @@ Expected<SmallVector<StringRef>> linkAndWrapDeviceFiles(
1195
// Initialize the images with any overriding inputs.
1196
if (Args.hasArg(OPT_override_image))
1197
if (Error Err = handleOverrideImages(Args, Images))
1198
- return Err;
+ return std::move(Err);
1199
1200
auto Err = parallelForEachError(LinkerInputFiles, [&](auto &Input) -> Error {
1201
llvm::TimeTraceScope TimeScope("Link device input");
0 commit comments