mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-27 21:50:29 +00:00
Replace a loop with a for-each loop. No behavior change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1487a2ee93
commit
d5de81e06c
@ -327,8 +327,7 @@ llvm::writeArchive(StringRef ArcName,
|
||||
std::vector<MemoryBufferRef> Members;
|
||||
std::vector<sys::fs::file_status> NewMemberStatus;
|
||||
|
||||
for (unsigned I = 0, N = NewMembers.size(); I < N; ++I) {
|
||||
NewArchiveIterator &Member = NewMembers[I];
|
||||
for (NewArchiveIterator &Member : NewMembers) {
|
||||
MemoryBufferRef MemberRef;
|
||||
|
||||
if (Member.isNewMember()) {
|
||||
|
Loading…
Reference in New Issue
Block a user