This is an archive of the discontinued LLVM Phabricator instance.

[clang][deps] NFC: Use range-based for loop instead of iterators
ClosedPublic

Authored by jansvoboda11 on Mar 15 2022, 4:09 AM.

Details

Summary

The iterator is not needed after the loop body anymore, meaning we can use more terse range-based for loop.

Depends on D121295.

Diff Detail

Event Timeline

jansvoboda11 created this revision.Mar 15 2022, 4:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 15 2022, 4:09 AM
jansvoboda11 requested review of this revision.Mar 15 2022, 4:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 15 2022, 4:09 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
jansvoboda11 edited the summary of this revision. (Show Details)Mar 15 2022, 9:34 AM
dexonsmith accepted this revision.Mar 15 2022, 12:49 PM

LGTM. (Not sure if you were waiting for review, but I think it's fine to push this kind of thing after checking the tests pass.)

This revision is now accepted and ready to land.Mar 15 2022, 12:49 PM
This revision was landed with ongoing or failed builds.Mar 16 2022, 4:18 AM
This revision was automatically updated to reflect the committed changes.