mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-03 02:31:26 +00:00
Use a range loop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242250 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8c63486145
commit
45177c59dc
@ -154,10 +154,8 @@ static void writeStringTable(raw_fd_ostream &Out,
|
||||
ArrayRef<NewArchiveIterator> Members,
|
||||
std::vector<unsigned> &StringMapIndexes) {
|
||||
unsigned StartOffset = 0;
|
||||
for (ArrayRef<NewArchiveIterator>::iterator I = Members.begin(),
|
||||
E = Members.end();
|
||||
I != E; ++I) {
|
||||
StringRef Name = I->getName();
|
||||
for (const NewArchiveIterator &I : Members) {
|
||||
StringRef Name = I.getName();
|
||||
if (Name.size() < 16)
|
||||
continue;
|
||||
if (StartOffset == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user