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 e0ccb40 commit 93ad8b3Copy full SHA for 93ad8b3
llvm/tools/llvm-objcopy/CopyConfig.cpp
@@ -560,7 +560,7 @@ Expected<DriverConfig> parseObjcopyOptions(ArrayRef<const char *> ArgsArr) {
560
"LLVM was not compiled with LLVM_ENABLE_ZLIB: cannot decompress");
561
562
DC.CopyConfigs.push_back(std::move(Config));
563
- return DC;
+ return std::move(DC);
564
}
565
566
// ParseStripOptions returns the config and sets the input arguments. If a
@@ -653,7 +653,7 @@ Expected<DriverConfig> parseStripOptions(ArrayRef<const char *> ArgsArr) {
653
654
655
656
657
658
659
} // namespace objcopy
0 commit comments