1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Silence -Wpessimizing-move warning

This commit is contained in:
scentini 2020-04-03 09:37:12 +02:00
parent 8178fe0f86
commit fadb1a3c1f

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();
}