]> granicus.if.org Git - clang/commit
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)
commitcd6ef194d0ede7c4cb23667d7cba19f0425183a6
treeb803306a81e181b712e65160ecd11520337fcde3
parent3f4ca1f2abdcb51cd0b6dc51410ae4ec7e1efbd3
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).

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