Reverse path iterator.
Declared in <llvm/Support/Path.h>
class reverse_iterator
: public iterator_facade_base<reverse_iterator, std::input_iterator_tag, StringRef const>
This is an input iterator that iterates over the individual components in path in reverse order. The traversal order is exactly reversed from that of const_iterator
| Name | Description |
|---|---|
iterator_facade_base<reverse_iterator, std::input_iterator_tag, StringRef const> | CRTP base class which implements the entire standard iterator facade in terms of a minimal subset of the interface. |
| Name | Description |
|---|---|
difference_type | Signed type used to express the distance between iterators. |
iterator_category | Iterator category tag for this facade. |
pointer | Pointer type returned by the iterator. |
reference | Reference type returned by the iterator. |
value_type | Value type produced by the iterator. |
| Name | Description |
|---|---|
Unnamed enum | Capability flags for the iterator category. |
| Name | Description |
|---|---|
operator* | Current path component. |
operator+ | Advance the iterator by n and return the result. |
operator++ | Post-increment the iterator and return the previous value. |
operator- | Subtraction operators |
operator-- | Decrement operators |
operator-> | Return a proxy pointer to the current element. |
operator[] | Return a proxy to the element at offset n. |
operator== | Equality operator |
operator<= | Return true if this iterator is less than or equal to RHS. |
operator> | Return true if this iterator is greater than RHS. |
operator>= | Return true if this iterator is greater than or equal to RHS. |
| Name | Description |
|---|---|
PointerProxy | Proxy that yields a pointer from a copied reference. |
ReferenceProxy | Proxy that yields a reference from a copied iterator. |
| Name | Description |
|---|---|
llvm::sys::path::rend | Get reverse end iterator over path. |
llvm::sys::path::rbegin | Get reverse begin iterator over path. |
| Name | Description |
|---|---|
::llvm::operator+ | Return an iterator n positions after i. |