[llvm] Use llvm::append_range (NFC)

This commit is contained in:
Kazu Hirata
2021-01-06 18:27:33 -08:00
parent fbc13e9345
commit 1d0bc05551
20 changed files with 34 additions and 40 deletions

View File

@@ -6358,8 +6358,7 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary(unsigned ID) {
}
case bitc::FS_TYPE_TESTS:
assert(PendingTypeTests.empty());
PendingTypeTests.insert(PendingTypeTests.end(), Record.begin(),
Record.end());
llvm::append_range(PendingTypeTests, Record);
break;
case bitc::FS_TYPE_TEST_ASSUME_VCALLS: