forked from OSchip/llvm-project
[BitcodeReader] Fixed use after move warnings. NFCI.
This commit is contained in:
parent
46f372a4aa
commit
505a44ae9c
|
@ -5905,11 +5905,6 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary(unsigned ID) {
|
||||||
std::move(PendingTypeCheckedLoadVCalls),
|
std::move(PendingTypeCheckedLoadVCalls),
|
||||||
std::move(PendingTypeTestAssumeConstVCalls),
|
std::move(PendingTypeTestAssumeConstVCalls),
|
||||||
std::move(PendingTypeCheckedLoadConstVCalls));
|
std::move(PendingTypeCheckedLoadConstVCalls));
|
||||||
PendingTypeTests.clear();
|
|
||||||
PendingTypeTestAssumeVCalls.clear();
|
|
||||||
PendingTypeCheckedLoadVCalls.clear();
|
|
||||||
PendingTypeTestAssumeConstVCalls.clear();
|
|
||||||
PendingTypeCheckedLoadConstVCalls.clear();
|
|
||||||
auto VIAndOriginalGUID = getValueInfoFromValueId(ValueID);
|
auto VIAndOriginalGUID = getValueInfoFromValueId(ValueID);
|
||||||
FS->setModulePath(getThisModule()->first());
|
FS->setModulePath(getThisModule()->first());
|
||||||
FS->setOriginalName(VIAndOriginalGUID.second);
|
FS->setOriginalName(VIAndOriginalGUID.second);
|
||||||
|
@ -6050,11 +6045,6 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary(unsigned ID) {
|
||||||
std::move(PendingTypeCheckedLoadVCalls),
|
std::move(PendingTypeCheckedLoadVCalls),
|
||||||
std::move(PendingTypeTestAssumeConstVCalls),
|
std::move(PendingTypeTestAssumeConstVCalls),
|
||||||
std::move(PendingTypeCheckedLoadConstVCalls));
|
std::move(PendingTypeCheckedLoadConstVCalls));
|
||||||
PendingTypeTests.clear();
|
|
||||||
PendingTypeTestAssumeVCalls.clear();
|
|
||||||
PendingTypeCheckedLoadVCalls.clear();
|
|
||||||
PendingTypeTestAssumeConstVCalls.clear();
|
|
||||||
PendingTypeCheckedLoadConstVCalls.clear();
|
|
||||||
LastSeenSummary = FS.get();
|
LastSeenSummary = FS.get();
|
||||||
LastSeenGUID = VI.getGUID();
|
LastSeenGUID = VI.getGUID();
|
||||||
FS->setModulePath(ModuleIdMap[ModuleId]);
|
FS->setModulePath(ModuleIdMap[ModuleId]);
|
||||||
|
|
Loading…
Reference in New Issue