|
LLVM
10.0.0
|
#include "llvm/Demangle/StringView.h"
Public Member Functions | |
| template<size_t N> | |
| StringView (const char(&Str)[N]) | |
| StringView (const char *First_, const char *Last_) | |
| StringView (const char *First_, size_t Len) | |
| StringView (const char *Str) | |
| StringView () | |
| StringView | substr (size_t From) const |
| size_t | find (char C, size_t From=0) const |
| StringView | substr (size_t From, size_t To) const |
| StringView | dropFront (size_t N=1) const |
| StringView | dropBack (size_t N=1) const |
| char | front () const |
| char | back () const |
| char | popFront () |
| bool | consumeFront (char C) |
| bool | consumeFront (StringView S) |
| bool | startsWith (char C) const |
| bool | startsWith (StringView Str) const |
| const char & | operator[] (size_t Idx) const |
| const char * | begin () const |
| const char * | end () const |
| size_t | size () const |
| bool | empty () const |
Static Public Attributes | |
| static const size_t | npos = ~size_t(0) |
Definition at line 23 of file StringView.h.
Definition at line 31 of file StringView.h.
Definition at line 32 of file StringView.h.
Definition at line 34 of file StringView.h.
Definition at line 36 of file StringView.h.
|
inline |
Definition at line 37 of file StringView.h.
Referenced by dropBack(), dropFront(), and substr().
|
inline |
Definition at line 79 of file StringView.h.
Definition at line 113 of file StringView.h.
Referenced by front(), OutputStream::operator+=(), operator==(), operator[](), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseQualifiedType(), FloatLiteralImpl< Float >::printLeft(), startsWith(), and substr().
Definition at line 89 of file StringView.h.
References dropFront(), and startsWith().
|
inline |
Definition at line 96 of file StringView.h.
References dropFront(), size(), and startsWith().
|
inline |
Definition at line 68 of file StringView.h.
References N, size(), and StringView().
|
inline |
Definition at line 62 of file StringView.h.
References N, size(), and StringView().
Referenced by consumeFront(), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseQualifiedType(), and IntegerLiteral::printLeft().
|
inline |
Definition at line 116 of file StringView.h.
Referenced by back(), front(), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseAbiTags(), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseClassEnumType(), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseExprPrimary(), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseIntegerLiteral(), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseQualifiedType(), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseType(), popFront(), and startsWith().
Definition at line 114 of file StringView.h.
Referenced by back(), operator==(), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseQualifiedType(), FloatLiteralImpl< Float >::printLeft(), and startsWith().
|
inline |
Definition at line 74 of file StringView.h.
Definition at line 111 of file StringView.h.
References begin().
|
inline |
Definition at line 84 of file StringView.h.
|
inline |
Definition at line 115 of file StringView.h.
Referenced by consumeFront(), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::consumeIf(), dropBack(), dropFront(), find(), OutputStream::operator+=(), operator==(), IntegerLiteral::printLeft(), startsWith(), and substr().
Definition at line 103 of file StringView.h.
References begin(), C, and empty().
Referenced by consumeFront(), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseQualifiedType(), and AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseSourceName().
|
inline |
Definition at line 105 of file StringView.h.
References begin(), end(), llvm::lltok::equal, and size().
|
inline |
Definition at line 39 of file StringView.h.
References begin(), size(), and StringView().
|
inline |
Definition at line 54 of file StringView.h.
References size(), and StringView().
Definition at line 28 of file StringView.h.
Referenced by decodeMultiByteChar(), find(), AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseUnnamedTypeName(), and synthesizeVariable().
1.8.13