|
LLVM 22.0.0git
|
Path iterator. More...
#include "llvm/Support/Path.h"
Public Member Functions | |
| reference | operator* () const |
| LLVM_ABI const_iterator & | operator++ () |
| LLVM_ABI bool | operator== (const const_iterator &RHS) const |
| LLVM_ABI ptrdiff_t | operator- (const const_iterator &RHS) const |
| Difference in bytes between this and RHS. | |
| Public Member Functions inherited from llvm::iterator_facade_base< const_iterator, std::input_iterator_tag, const StringRef > | |
| const_iterator | operator+ (std::ptrdiff_t n) const |
| const_iterator | operator- (std::ptrdiff_t n) const |
| const_iterator & | operator++ () |
| const_iterator & | operator-- () |
| bool | operator!= (const const_iterator &RHS) const |
| bool | operator> (const const_iterator &RHS) const |
| bool | operator<= (const const_iterator &RHS) const |
| bool | operator>= (const const_iterator &RHS) const |
| PointerProxy | operator-> () const |
| ReferenceProxy | operator[] (std::ptrdiff_t n) const |
Friends | |
| LLVM_ABI friend const_iterator | begin (StringRef path LLVM_LIFETIME_BOUND, Style style=Style::native) |
| Get begin iterator over path. | |
| LLVM_ABI friend const_iterator | end (StringRef path LLVM_LIFETIME_BOUND) |
| Get end iterator over path. | |
Additional Inherited Members | |
| Public Types inherited from llvm::iterator_facade_base< const_iterator, std::input_iterator_tag, const StringRef > | |
| using | iterator_category |
| using | value_type |
| using | difference_type |
| using | pointer |
| using | reference |
| Protected Types inherited from llvm::iterator_facade_base< const_iterator, std::input_iterator_tag, const StringRef > | |
| enum | |
Path iterator.
This is an input iterator that iterates over the individual components in path. The traversal order is as follows:
Iteration examples. Each component is separated by ',':
|
inline |
| const_iterator & llvm::sys::path::const_iterator::operator++ | ( | ) |
Definition at line 242 of file Path.cpp.
References assert(), llvm::sys::path::is_separator(), and llvm::sys::path::is_style_windows().
| ptrdiff_t llvm::sys::path::const_iterator::operator- | ( | const const_iterator & | RHS | ) | const |
| bool llvm::sys::path::const_iterator::operator== | ( | const const_iterator & | RHS | ) | const |
|
friend |
|
friend |