This is an archive of the discontinued LLVM Phabricator instance.

Fix gcc5 build failure (NFC)
ClosedPublic

Authored by mehdi_amini on Jan 7 2021, 12:00 PM.

Details

Summary

The loop index was shadowing the container name.
It seems that we can just not use a for-range loop here since there is
an induction variable anyway.

Diff Detail

Event Timeline

mehdi_amini created this revision.Jan 7 2021, 12:00 PM
mehdi_amini requested review of this revision.Jan 7 2021, 12:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 7 2021, 12:00 PM
arsenm accepted this revision.Jan 7 2021, 12:01 PM
This revision is now accepted and ready to land.Jan 7 2021, 12:01 PM
This revision was landed with ongoing or failed builds.Jan 7 2021, 12:12 PM
This revision was automatically updated to reflect the committed changes.