|
LLVM
7.0.0
|
directory_iterator - Iterates through the entries in path. More...
#include "llvm/Support/FileSystem.h"
Public Member Functions | |
| directory_iterator (const Twine &path, std::error_code &ec, bool follow_symlinks=true) | |
| directory_iterator (const directory_entry &de, std::error_code &ec, bool follow_symlinks=true) | |
| directory_iterator ()=default | |
| Construct end iterator. More... | |
| directory_iterator & | increment (std::error_code &ec) |
| const directory_entry & | operator* () const |
| const directory_entry * | operator-> () const |
| bool | operator== (const directory_iterator &RHS) const |
| bool | operator!= (const directory_iterator &RHS) const |
directory_iterator - Iterates through the entries in path.
There is no operator++ because we need an error_code. If it's really needed we can make it call report_fatal_error on error.
Definition at line 1152 of file FileSystem.h.
|
inlineexplicit |
Definition at line 1157 of file FileSystem.h.
References llvm::sys::fs::detail::directory_iterator_construct(), and llvm::Twine::toStringRef().
|
inlineexplicit |
Definition at line 1167 of file FileSystem.h.
References llvm::sys::fs::detail::directory_iterator_construct(), and llvm::sys::fs::directory_entry::path().
|
default |
Construct end iterator.
|
inline |
Definition at line 1180 of file FileSystem.h.
References llvm::sys::fs::detail::directory_iterator_increment().
|
inline |
Definition at line 1199 of file FileSystem.h.
References llvm::ErrorOr< T >::getError().
|
inline |
Definition at line 1186 of file FileSystem.h.
|
inline |
Definition at line 1187 of file FileSystem.h.
|
inline |
Definition at line 1189 of file FileSystem.h.
1.8.13