While reading this code, I was wondering if we change these variables in the
loop. We don't, so make them const to make this easier to see next time.
No behavior change.
Differential D135877
[lld/mac] Make two local variables const ClosedPublic Authored by thakis on Oct 13 2022, 7:39 AM.
Details
Summary While reading this code, I was wondering if we change these variables in the No behavior change.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 13 2022, 7:39 AM This revision is now accepted and ready to land.Oct 13 2022, 8:04 AM Comment Actions LG
Comment Actions
Yes, almost did that. Will do next time, sorry! Closed by commit rGad030740b2db: [lld/mac] Make two local variables const (authored by thakis). · Explain WhyOct 13 2022, 9:03 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 467504 lld/MachO/InputFiles.cpp
|
symbolOffset is not const?