|
LLVM 22.0.0git
|
Adaptor from InMemoryDir::iterator to directory_iterator. More...
Public Member Functions | |
| DirIterator ()=default | |
| DirIterator (const InMemoryFileSystem *FS, const detail::InMemoryDirectory &Dir, std::string RequestedDirName) | |
| 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. | |
| 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 |
Adaptor from InMemoryDir::iterator to directory_iterator.
Definition at line 1105 of file VirtualFileSystem.cpp.
|
default |
|
inline |
Definition at line 1143 of file VirtualFileSystem.cpp.
References llvm::vfs::InMemoryFileSystem::InMemoryFileSystem(), and llvm::move().
|
inlineoverridevirtual |
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 1151 of file VirtualFileSystem.cpp.