LLVM API Documentation
Reverse path iterator. More...
#include <Path.h>
Public Member Functions | |
reference | operator* () const |
pointer | operator-> () const |
reverse_iterator & | operator++ () |
reverse_iterator & | operator++ (int) |
bool | operator== (const reverse_iterator &RHS) const |
bool | operator!= (const reverse_iterator &RHS) const |
Friends | |
reverse_iterator | rbegin (StringRef path) |
Get reverse begin iterator over path. | |
reverse_iterator | rend (StringRef path) |
Get reverse end iterator over path. |
Reverse path iterator.
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
bool llvm::sys::path::reverse_iterator::operator!= | ( | const reverse_iterator & | RHS | ) | const [inline] |
reference llvm::sys::path::reverse_iterator::operator* | ( | ) | const [inline] |
reverse_iterator & llvm::sys::path::reverse_iterator::operator++ | ( | ) |
Definition at line 331 of file Path.cpp.
References llvm::sys::path::is_separator().
reverse_iterator& llvm::sys::path::reverse_iterator::operator++ | ( | int | ) |
pointer llvm::sys::path::reverse_iterator::operator-> | ( | ) | const [inline] |
bool llvm::sys::path::reverse_iterator::operator== | ( | const reverse_iterator & | RHS | ) | const |
Definition at line 358 of file Path.cpp.
References llvm::StringRef::begin().
reverse_iterator rbegin | ( | StringRef | path | ) | [friend] |
Get reverse begin iterator over path.
path | Input path. |
reverse_iterator rend | ( | StringRef | path | ) | [friend] |
Get reverse end iterator over path.
path | Input path. |