[lld-macho][NFC] add const to pointer/reference induction variables of range-based...
authorGreg McGary <gkm@fb.com>
Wed, 10 Mar 2021 05:41:34 +0000 (21:41 -0800)
committerGreg McGary <gkm@fb.com>
Wed, 10 Mar 2021 20:07:31 +0000 (12:07 -0800)
commit98fe9e41f7a612193ee74689961050bd4dc7c61e
treed2a5d4f950d8af5b7f0ee8b53b0f842aef504d47
parent0ba1ebcbb7751ad53d7be4704f815503837a75f8
[lld-macho][NFC] add const to pointer/reference induction variables of range-based for loops

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

Differential Revision: https://reviews.llvm.org/D98317
lld/MachO/Driver.cpp
lld/MachO/Dwarf.cpp
lld/MachO/ExportTrie.cpp
lld/MachO/SyntheticSections.cpp
lld/MachO/UnwindInfoSection.cpp
lld/MachO/Writer.cpp