forked from OSchip/llvm-project
[BitcodeReader] Simplify code. NFCI.
This commit is contained in:
parent
8f9d3b937c
commit
c476abfd37
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue