LLVM 20.0.0git
|
An input iterator over the recursive contents of a virtual path, similar to llvm::sys::fs::recursive_directory_iterator. More...
#include "llvm/Support/VirtualFileSystem.h"
Public Member Functions | |
recursive_directory_iterator (FileSystem &FS, const Twine &Path, std::error_code &EC) | |
recursive_directory_iterator ()=default | |
Construct an 'end' iterator. | |
recursive_directory_iterator & | increment (std::error_code &EC) |
Equivalent to operator++, with an error code. | |
const directory_entry & | operator* () const |
const directory_entry * | operator-> () const |
bool | operator== (const recursive_directory_iterator &Other) const |
bool | operator!= (const recursive_directory_iterator &RHS) const |
int | level () const |
Gets the current level. Starting path is at level 0. | |
void | no_push () |
An input iterator over the recursive contents of a virtual path, similar to llvm::sys::fs::recursive_directory_iterator.
Definition at line 229 of file VirtualFileSystem.h.
vfs::recursive_directory_iterator::recursive_directory_iterator | ( | FileSystem & | FS, |
const Twine & | Path, | ||
std::error_code & | EC | ||
) |
Definition at line 2922 of file VirtualFileSystem.cpp.
References I.
|
default |
Construct an 'end' iterator.
vfs::recursive_directory_iterator & recursive_directory_iterator::increment | ( | std::error_code & | EC | ) |
Equivalent to operator++, with an error code.
Definition at line 2933 of file VirtualFileSystem.cpp.
References assert(), llvm::sys::fs::directory_file, End, and I.
|
inline |
Gets the current level. Starting path is at level 0.
Definition at line 255 of file VirtualFileSystem.h.
References assert().
|
inline |
Definition at line 261 of file VirtualFileSystem.h.
|
inline |
Definition at line 250 of file VirtualFileSystem.h.
References RHS.
|
inline |
Definition at line 244 of file VirtualFileSystem.h.
|
inline |
Definition at line 245 of file VirtualFileSystem.h.
|
inline |
Definition at line 247 of file VirtualFileSystem.h.
References llvm::Other.