mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-23 20:25:50 -04:00
Use the range variant of transform instead of unpacking begin/end
No functionality change is intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278476 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user