This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho][NFC] add const to pointer/reference induction variables of range-based for loops
ClosedPublic

Authored by gkm on Mar 9 2021, 9:44 PM.

Details

Summary

Pointer and reference induction variables of range-based for loops are often const, and code authors often lax about qualifying them.

Diff Detail

Event Timeline

gkm created this revision.Mar 9 2021, 9:44 PM
Herald added a project: Restricted Project. · View Herald Transcript
gkm requested review of this revision.Mar 9 2021, 9:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2021, 9:44 PM
int3 accepted this revision.Mar 10 2021, 10:33 AM

lgtm

This revision is now accepted and ready to land.Mar 10 2021, 10:33 AM
This revision was landed with ongoing or failed builds.Mar 10 2021, 12:07 PM
This revision was automatically updated to reflect the committed changes.