LLVM
8.0.1
|
Public Member Functions | |
VFSFromYamlDirIterImpl (const Twine &Path, RedirectingFileSystem::RedirectingDirectoryEntry::iterator Begin, RedirectingFileSystem::RedirectingDirectoryEntry::iterator End, bool IterateExternalFS, FileSystem &ExternalFS, std::error_code &EC) | |
std::error_code | increment () override |
Sets CurrentEntry to the next entry in the directory on success, to directory_entry() at end, or returns a system-defined error_code . More... | |
Public Member Functions inherited from llvm::vfs::detail::DirIterImpl | |
virtual | ~DirIterImpl () |
Additional Inherited Members | |
Public Attributes inherited from llvm::vfs::detail::DirIterImpl | |
directory_entry | CurrentEntry |
Definition at line 949 of file VirtualFileSystem.cpp.
VFSFromYamlDirIterImpl::VFSFromYamlDirIterImpl | ( | const Twine & | Path, |
RedirectingFileSystem::RedirectingDirectoryEntry::iterator | Begin, | ||
RedirectingFileSystem::RedirectingDirectoryEntry::iterator | End, | ||
bool | IterateExternalFS, | ||
FileSystem & | ExternalFS, | ||
std::error_code & | EC | ||
) |
Definition at line 1965 of file VirtualFileSystem.cpp.
|
overridevirtual |
Sets CurrentEntry
to the next entry in the directory on success, to directory_entry() at end, or returns a system-defined error_code
.
Implements llvm::vfs::detail::DirIterImpl.
Definition at line 1975 of file VirtualFileSystem.cpp.
References llvm::sys::path::append(), assert(), llvm::vfs::detail::DirIterImpl::CurrentEntry, llvm::sys::fs::directory_file, llvm::vfs::RedirectingFileSystem::EK_Directory, llvm::vfs::RedirectingFileSystem::EK_File, llvm::StringRef::empty(), llvm::sys::path::filename(), llvm::vfs::directory_iterator::increment(), llvm::StringSet< AllocatorTy >::insert(), llvm_unreachable, llvm::no_such_file_or_directory, llvm::vfs::directory_entry::path(), llvm::sys::fs::regular_file, and llvm::SmallString< InternalLen >::str().