forked from OSchip/llvm-project
Revert rGff3fe145fe48 "Fix gcc9 "moving a local object in a return statement prevents copy elision" Wpessimizing-move warning."
Fix buildbots
This commit is contained in:
parent
ff3fe145fe
commit
88cdeaa531
|
@ -405,7 +405,7 @@ private:
|
|||
if (auto Sym = LD.findSymbol(BaseLayer, MangledName, false))
|
||||
continue;
|
||||
else if (auto Err = Sym.takeError())
|
||||
return Err;
|
||||
return std::move(Err);
|
||||
}
|
||||
|
||||
// Record all functions defined by this module.
|
||||
|
|
Loading…
Reference in New Issue