LLVM API Documentation
#include <FileSystem.h>
Public Member Functions | |
| recursive_directory_iterator () | |
| recursive_directory_iterator (const Twine &path, error_code &ec) | |
| recursive_directory_iterator & | increment (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 801 of file FileSystem.h.
| llvm::sys::fs::recursive_directory_iterator::recursive_directory_iterator | ( | ) | [inline] |
Definition at line 805 of file FileSystem.h.
| llvm::sys::fs::recursive_directory_iterator::recursive_directory_iterator | ( | const Twine & | path, |
| error_code & | ec | ||
| ) | [inline, explicit] |
Definition at line 806 of file FileSystem.h.
References llvm::IntrusiveRefCntPtr< T >::reset().
| recursive_directory_iterator& llvm::sys::fs::recursive_directory_iterator::increment | ( | error_code & | ec | ) | [inline] |
Definition at line 813 of file FileSystem.h.
References llvm::sys::fs::is_directory(), and llvm::IntrusiveRefCntPtr< T >::reset().
| int llvm::sys::fs::recursive_directory_iterator::level | ( | ) | const [inline] |
Gets the current level. Starting path is at level 0.
Definition at line 850 of file FileSystem.h.
| void llvm::sys::fs::recursive_directory_iterator::no_push | ( | ) | [inline] |
Does not go down into the current directory_entry.
Definition at line 877 of file FileSystem.h.
| bool llvm::sys::fs::recursive_directory_iterator::no_push_request | ( | ) | const [inline] |
Returns true if no_push has been called for this directory_entry.
Definition at line 853 of file FileSystem.h.
| bool llvm::sys::fs::recursive_directory_iterator::operator!= | ( | const recursive_directory_iterator & | RHS | ) | const [inline] |
Definition at line 883 of file FileSystem.h.
| const directory_entry& llvm::sys::fs::recursive_directory_iterator::operator* | ( | ) | const [inline] |
Definition at line 845 of file FileSystem.h.
| const directory_entry* llvm::sys::fs::recursive_directory_iterator::operator-> | ( | ) | const [inline] |
Definition at line 846 of file FileSystem.h.
| bool llvm::sys::fs::recursive_directory_iterator::operator== | ( | const recursive_directory_iterator & | RHS | ) | const [inline] |
Definition at line 879 of file FileSystem.h.
| void llvm::sys::fs::recursive_directory_iterator::pop | ( | ) | [inline] |
Goes up one level if Level > 0.
Definition at line 857 of file FileSystem.h.
References llvm::report_fatal_error(), and llvm::IntrusiveRefCntPtr< T >::reset().