This is an archive of the discontinued LLVM Phabricator instance.

Express PathMappingList::FindFile() in terms of PathMappingList.h::RemapPath() (NFC)
ClosedPublic

Authored by aprantl on Jun 16 2021, 11:34 AM.

Details

Summary

This patch replaces the function body FindFile() with a call to RemapPath(), since the two functions implement the same functionality.

Diff Detail

Event Timeline

Looks good but would rather a second eye on this.

JDevlieghere accepted this revision.Jun 28 2021, 10:33 AM

LGTM too

This revision is now accepted and ready to land.Jun 28 2021, 10:33 AM
This revision was landed with ongoing or failed builds.Jun 29 2021, 3:18 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2021, 3:18 PM

Btw, this broke source maps with multiple rules as explained here D106723 :)