mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-29 17:41:32 +00:00
Use the range variant of transform instead of unpacking begin/end
No functionality change is intended. llvm-svn: 278476
This commit is contained in:
1 parent
c700490f48
commit
2d006e7673
7 files changed
+13
-12
No files matched your search
@@ -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