This is an archive of the discontinued LLVM Phabricator instance.

[ORC][NFC] Refactor loop to determine name of init symbol in IRMaterializationUnit
ClosedPublic

Authored by sgraenitz on Aug 13 2020, 12:11 PM.

Details

Summary

This loop caused me a little headache once, because I didn't see the assigned variable is a member. The refactored version appears more readable to me.

Diff Detail

Event Timeline

sgraenitz created this revision.Aug 13 2020, 12:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2020, 12:11 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
sgraenitz requested review of this revision.Aug 13 2020, 12:11 PM
lhames accepted this revision.Aug 13 2020, 2:04 PM

Oh yeah -- that's way better. Thanks!

This revision is now accepted and ready to land.Aug 13 2020, 2:04 PM