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:
parent
8178fe0f86
commit
fadb1a3c1f
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user