]> granicus.if.org Git - clang/commit
Fixes errors with FS iterators caused by https://reviews.llvm.org/D44960
authorMax Moroz <mmoroz@chromium.org>
Wed, 4 Apr 2018 19:47:25 +0000 (19:47 +0000)
committerMax Moroz <mmoroz@chromium.org>
Wed, 4 Apr 2018 19:47:25 +0000 (19:47 +0000)
commit5afe26bf33c0a2f62d9442afafe725705371f46c
tree040c0c1277428e5bb821a5800e3fa3a015161215
parentfdc7eb8531f40320d3aef5e5f91310cb724005ea
Fixes errors with FS iterators caused by https://reviews.llvm.org/D44960

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).

Reviewers: vsk, pcc, zturner, liaoyuke

Reviewed By: vsk

Subscribers: mgrang, cfe-commits

Differential Revision: https://reviews.llvm.org/D45178

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329223 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/VirtualFileSystem.cpp
unittests/Basic/VirtualFileSystemTest.cpp