This is an archive of the discontinued LLVM Phabricator instance.

FileManager: Test FileManager::getFileRef
ClosedPublic

Authored by dexonsmith on Oct 15 2020, 7:37 AM.

Details

Summary

Add a test demonstrating getFileRef's behaviour, which isn't obvious
from code inspection when it's handling a redirected file.

Diff Detail

Event Timeline

dexonsmith created this revision.Oct 15 2020, 7:37 AM
dexonsmith requested review of this revision.Oct 15 2020, 7:37 AM

Thanks. Could you expand the comment in the test that this test path specifically exercises the behavior produced by the RedirectingFileSystem?

arphaman accepted this revision.Oct 20 2020, 9:49 AM
This revision is now accepted and ready to land.Oct 20 2020, 9:49 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2020, 10:42 AM

Thanks. Could you expand the comment in the test that this test path specifically exercises the behavior produced by the RedirectingFileSystem?

Yup, done in 729d7d23282e9b00eaa7a5f35a4224929d73d3a4.