[BitcodeReader] Simplify code. NFCI.

This commit is contained in:
Benjamin Kramer 2020-05-21 15:23:12 +02:00
parent 8f9d3b937c
commit c476abfd37
1 changed files with 1 additions and 2 deletions

View File

@ -152,8 +152,7 @@ static bool convertToString(ArrayRef<uint64_t> Record, unsigned Idx,
if (Idx > Record.size())
return true;
for (unsigned i = Idx, e = Record.size(); i != e; ++i)
Result += (char)Record[i];
Result.append(Record.begin() + Idx, Record.end());
return false;
}