LLVM 22.0.0git
llvm::vfs::RedirectingFSDirIterImpl Class Reference

Directory iterator implementation for RedirectingFileSystem's directory entries. More...

Inheritance diagram for llvm::vfs::RedirectingFSDirIterImpl:
[legend]

Public Member Functions

 RedirectingFSDirIterImpl (const Twine &Path, RedirectingFileSystem::DirectoryEntry::iterator Begin, RedirectingFileSystem::DirectoryEntry::iterator End, 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.
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

Detailed Description

Directory iterator implementation for RedirectingFileSystem's directory entries.

Definition at line 1269 of file VirtualFileSystem.cpp.

Constructor & Destructor Documentation

◆ RedirectingFSDirIterImpl()

llvm::vfs::RedirectingFSDirIterImpl::RedirectingFSDirIterImpl ( const Twine & Path,
RedirectingFileSystem::DirectoryEntry::iterator Begin,
RedirectingFileSystem::DirectoryEntry::iterator End,
std::error_code & EC )
inline

Definition at line 1300 of file VirtualFileSystem.cpp.

Member Function Documentation

◆ increment()

std::error_code llvm::vfs::RedirectingFSDirIterImpl::increment ( )
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 1307 of file VirtualFileSystem.cpp.


The documentation for this class was generated from the following file: