class directory_iterator
Declaration
class directory_iterator { /* full declaration omitted */ };
Description
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.
Declared at: llvm/include/llvm/Support/FileSystem.h:1280
Method Overview
- public directory_iterator(const llvm::Twine & path, std::error_code & ec, bool follow_symlinks = true)
- public directory_iterator(const llvm::sys::fs::directory_entry & de, std::error_code & ec, bool follow_symlinks = true)
- public directory_iterator()
- public llvm::sys::fs::directory_iterator & increment(std::error_code & ec)
Methods
¶directory_iterator(const llvm::Twine& path,
std::error_code& ec,
bool follow_symlinks = true)
directory_iterator(const llvm::Twine& path,
std::error_code& ec,
bool follow_symlinks = true)
Declared at: llvm/include/llvm/Support/FileSystem.h:1285
Parameters
- const llvm::Twine& path
- std::error_code& ec
- bool follow_symlinks = true
¶directory_iterator(
const llvm::sys::fs::directory_entry& de,
std::error_code& ec,
bool follow_symlinks = true)
directory_iterator(
const llvm::sys::fs::directory_entry& de,
std::error_code& ec,
bool follow_symlinks = true)
Declared at: llvm/include/llvm/Support/FileSystem.h:1294
Parameters
- const llvm::sys::fs::directory_entry& de
- std::error_code& ec
- bool follow_symlinks = true
¶directory_iterator()
directory_iterator()
Description
Construct end iterator.
Declared at: llvm/include/llvm/Support/FileSystem.h:1303
¶llvm::sys::fs::directory_iterator& increment(
std::error_code& ec)
llvm::sys::fs::directory_iterator& increment(
std::error_code& ec)
Declared at: llvm/include/llvm/Support/FileSystem.h:1306
Parameters
- std::error_code& ec