forked from OSchip/llvm-project
Silence -Wpessimizing-move warning
This commit is contained in:
parent
5b519cf1fc
commit
6825920b18
|
@ -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…
Reference in New Issue