This is an archive of the discontinued LLVM Phabricator instance.

Fixes errors with FS iterators caused by https://reviews.llvm.org/D44960
ClosedPublic

Authored by Dor1s on Apr 2 2018, 12:32 PM.

Details

Summary

In https://reviews.llvm.org/D44960, file status check is executed every
time a real file system directory iterator is constructed or
incremented, and emits an error code. This change list fixes the errors
in VirtualFileSystem caused by https://reviews.llvm.org/D44960.

Patch by Yuke Liao (@liaoyuke).

Diff Detail

Repository
rC Clang

Event Timeline

liaoyuke created this revision.Apr 2 2018, 12:32 PM
liaoyuke updated this revision to Diff 140672.Apr 2 2018, 12:36 PM

Fix styles.

Dor1s accepted this revision.Apr 2 2018, 1:04 PM
Dor1s added reviewers: pcc, zturner.

Looks good from my perspective, added Peter and Zachary who might know this code better :)

This revision is now accepted and ready to land.Apr 2 2018, 1:05 PM
Dor1s added a comment.Apr 3 2018, 7:18 PM

Friendly ping. We'll probably land it tomorrow anyway, as it blocks another fix needed for llvm-cov, but having another pair of eyes to look at this would be still helpful :)

vsk added a comment.Apr 4 2018, 11:43 AM

I'd like to test this out a bit more. Could you wait one more day?

vsk accepted this revision.Apr 4 2018, 12:06 PM

Lgtm, thank you.

If you don't have commit access, let us know, and somebody will commit this on your behalf.

Dor1s added a comment.Apr 4 2018, 12:14 PM

Thanks a lot, Vedant! No worries, I'll commit it on behalf of Yuke @liaoyuke

Dor1s commandeered this revision.Apr 4 2018, 12:29 PM
Dor1s edited reviewers, added: liaoyuke; removed: Dor1s.
Dor1s retitled this revision from Fixes errors caused by https://reviews.llvm.org/D44960 to Fixes errors with FS iterators caused by https://reviews.llvm.org/D44960.
Dor1s edited the summary of this revision. (Show Details)
Dor1s updated this revision to Diff 141026.Apr 4 2018, 12:44 PM

Resolve merge conflicts and fix whitespaces.

This revision was automatically updated to reflect the committed changes.