Add directory_iterator for (non-recursive) iteration of VFS directories
authorBen Langmuir <blangmuir@apple.com>
Tue, 24 Jun 2014 19:37:16 +0000 (19:37 +0000)
committerBen Langmuir <blangmuir@apple.com>
Tue, 24 Jun 2014 19:37:16 +0000 (19:37 +0000)
commit740812bb9a4a47dce964f60f8e623a0386335296
tree72e1de72830c1fa6546508989ac45ead59e1cbc2
parent51dc8e9b53479cf2c5c609f4e54aa8c0fe5e23c3
Add directory_iterator for (non-recursive) iteration of VFS directories

The API is based on sys::fs::directory_iterator, but it allows iterating
over overlays and the yaml-based VFS.  For now, it isn't used by
anything (except its tests).

llvm-svn: 211623
clang/include/clang/Basic/VirtualFileSystem.h
clang/lib/Basic/VirtualFileSystem.cpp
clang/unittests/Basic/VirtualFileSystemTest.cpp