Use the range variant of transform instead of unpacking begin/end

No functionality change is intended.

llvm-svn: 278476
This commit is contained in:
David Majnemer committed 2016-08-12 04:32:42 +00:00
1 parent c700490f48
commit 2d006e7673
7 files changed
+13 -12

No files matched your search

+1 -1
View File
@@ -2858,7 +2858,7 @@ std::error_code BitcodeReader::resolveGlobalAndIndirectSymbolInits() {
static APInt readWideAPInt(ArrayRef<uint64_t> Vals, unsigned TypeBits) {
SmallVector<uint64_t, 8> Words(Vals.size());
std::transform(Vals.begin(), Vals.end(), Words.begin(),
transform(Vals, Words.begin(),
BitcodeReader::decodeSignRotatedValue);
return APInt(TypeBits, Words);