This is an archive of the discontinued LLVM Phabricator instance.

[NFC][lld][COFF] Rename findFile* methods
ClosedPublic

Authored by aeubanks on Jun 6 2023, 11:12 AM.

Details

Summary

findFile returns null if we've already seen the file, make that clearer.

Diff Detail

Event Timeline

aeubanks created this revision.Jun 6 2023, 11:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 6 2023, 11:12 AM
aeubanks requested review of this revision.Jun 6 2023, 11:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 6 2023, 11:12 AM
rnk added a comment.Jun 6 2023, 11:19 AM

I think it's an improvement, but I want feedback from @mstorsjo

mstorsjo accepted this revision.Jun 6 2023, 1:12 PM

LGTM - I think this is slightly more understandable. (I don't have all these codepaths freshly in mind right now, but from reading the diff, it looks reasonable and clearly more understandable than before.)

This revision is now accepted and ready to land.Jun 6 2023, 1:12 PM
This revision was automatically updated to reflect the committed changes.