|
LLVM
8.0.1
|
Path iterator. More...
#include "llvm/Support/Path.h"


Public Member Functions | |
| reference | operator* () const |
| const_iterator & | operator++ () |
| bool | operator== (const const_iterator &RHS) const |
| ptrdiff_t | operator- (const const_iterator &RHS) const |
| Difference in bytes between this and RHS. More... | |
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++ (int) |
| const_iterator & | operator-- () |
| const_iterator | operator-- (int) |
| 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 |
| const StringRef * | operator-> () |
| const StringRef * | operator-> () const |
| ReferenceProxy | operator[] (std::ptrdiff_t n) |
| ReferenceProxy | operator[] (std::ptrdiff_t n) const |
Friends | |
| const_iterator | begin (StringRef path, Style style) |
| Get begin iterator over path. More... | |
| const_iterator | end (StringRef path) |
| Get end iterator over path. More... | |
Additional Inherited Members | |
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 |
Definition at line 66 of file Path.h.
References llvm::operator-(), and llvm::operator==().
| const_iterator & llvm::sys::path::const_iterator::operator++ | ( | ) |
Definition at line 266 of file Path.cpp.
References assert(), and llvm::sys::path::is_separator().
| 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 |
Definition at line 313 of file Path.cpp.
References llvm::StringRef::begin().
|
friend |
Get begin iterator over path.
| path | Input path. |
Definition at line 250 of file Path.cpp.
Referenced by isDebug(), and llvm::coverage::CoverageMapping::load().
|
friend |
Get end iterator over path.
| path | Input path. |
Definition at line 259 of file Path.cpp.
Referenced by llvm::LiveRange::covers(), llvm::MipsRegisterInfo::getReservedRegs(), isDebug(), and llvm::coverage::CoverageMapping::load().
1.8.13