LLVM 22.0.0git
|
recursive_directory_iterator - Same as directory_iterator except for it recurses down into child directories. More...
#include "llvm/Support/FileSystem.h"
Public Member Functions | |
recursive_directory_iterator ()=default | |
recursive_directory_iterator (const Twine &path, std::error_code &ec, bool follow_symlinks=true) | |
recursive_directory_iterator & | increment (std::error_code &ec) |
const directory_entry & | operator* () const |
const directory_entry * | operator-> () const |
int | level () const |
Gets the current level. Starting path is at level 0. | |
bool | no_push_request () const |
Returns true if no_push has been called for this directory_entry. | |
void | pop () |
Goes up one level if Level > 0. | |
void | no_push () |
Does not go down into the current directory_entry. | |
bool | operator== (const recursive_directory_iterator &RHS) const |
bool | operator!= (const recursive_directory_iterator &RHS) const |
recursive_directory_iterator - Same as directory_iterator except for it recurses down into child directories.
Definition at line 1516 of file FileSystem.h.
|
default |
Referenced by increment(), operator!=(), and operator==().
|
inlineexplicit |
Definition at line 1522 of file FileSystem.h.
|
inline |
Definition at line 1532 of file FileSystem.h.
References llvm::sys::fs::directory_file, recursive_directory_iterator(), llvm::sys::fs::status(), and llvm::sys::fs::symlink_file.
|
inline |
Gets the current level. Starting path is at level 0.
Definition at line 1575 of file FileSystem.h.
|
inline |
Does not go down into the current directory_entry.
Definition at line 1602 of file FileSystem.h.
|
inline |
Returns true if no_push has been called for this directory_entry.
Definition at line 1578 of file FileSystem.h.
|
inline |
Definition at line 1608 of file FileSystem.h.
References recursive_directory_iterator(), and RHS.
|
inline |
Definition at line 1570 of file FileSystem.h.
|
inline |
Definition at line 1571 of file FileSystem.h.
|
inline |
Definition at line 1604 of file FileSystem.h.
References recursive_directory_iterator(), and RHS.
|
inline |
Goes up one level if Level > 0.
Definition at line 1582 of file FileSystem.h.
References assert(), and llvm::report_fatal_error().