Silence -Wpessimizing-move warning

This commit is contained in:
scentini 2020-04-03 09:37:12 +02:00
parent 5b519cf1fc
commit 6825920b18
1 changed files with 1 additions and 2 deletions

View File

@ -319,7 +319,7 @@ DWARFContext::parseMacroOrMacinfo(MacroSecType SectionType) {
break;
}
}
return std::move(Macro);
return Macro;
}
static void dumpLoclistsSection(raw_ostream &OS, DIDumpOptions DumpOpts,
@ -1975,4 +1975,3 @@ uint8_t DWARFContext::getCUAddrSize() {
unit_iterator_range CUs = compile_units();
return CUs.empty() ? 0 : (*CUs.begin())->getAddressByteSize();
}