LLVM
8.0.1
|
#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 20 of file StringView.h.
Definition at line 28 of file StringView.h.
Definition at line 29 of file StringView.h.
Definition at line 31 of file StringView.h.
Definition at line 33 of file StringView.h.
|
inline |
Definition at line 34 of file StringView.h.
Referenced by dropBack(), dropFront(), and substr().
|
inline |
Definition at line 76 of file StringView.h.
Definition at line 110 of file StringView.h.
Referenced by demanglePointerCVQualifiers(), front(), llvm::itanium_demangle::NodeOrString::NodeOrString(), OutputStream::operator+=(), operator==(), operator[](), llvm::itanium_demangle::parse_discriminator(), llvm::itanium_demangle::AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseQualifiedType(), llvm::itanium_demangle::FloatLiteralImpl< Float >::printLeft(), startsWith(), and substr().
Definition at line 86 of file StringView.h.
References dropFront(), and startsWith().
Referenced by consumeSpecialIntrinsicKind(), decodeMultiByteChar(), demangleFunctionRefQualifier(), demanglePointerCVQualifiers(), isMemberPointer(), nodeListToNodeArray(), llvm::ms_demangle::Demangler::parse(), llvm::ms_demangle::Demangler::parseTagUniqueName(), rebasedHexDigitToNumber(), startsWithLocalScopePattern(), and synthesizeVariable().
|
inline |
Definition at line 93 of file StringView.h.
References dropFront(), size(), and startsWith().
|
inline |
Definition at line 65 of file StringView.h.
References N, size(), and StringView().
|
inline |
Definition at line 59 of file StringView.h.
References N, size(), and StringView().
Referenced by consumeFront(), decodeMultiByteChar(), nodeListToNodeArray(), llvm::itanium_demangle::AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseQualifiedType(), llvm::ms_demangle::Demangler::parseTagUniqueName(), llvm::itanium_demangle::IntegerLiteral::printLeft(), rebasedHexDigitToNumber(), and synthesizeVariable().
|
inline |
Definition at line 113 of file StringView.h.
Referenced by back(), decodeMultiByteChar(), demanglePointerCVQualifiers(), front(), isMemberPointer(), nodeListToNodeArray(), llvm::itanium_demangle::AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseAbiTags(), llvm::itanium_demangle::AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseClassEnumType(), llvm::itanium_demangle::AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseExprPrimary(), llvm::itanium_demangle::AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseIntegerLiteral(), llvm::itanium_demangle::AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseQualifiedType(), llvm::ms_demangle::Demangler::parseTagUniqueName(), llvm::itanium_demangle::AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseType(), popFront(), rebasedHexDigitToNumber(), startsWith(), startsWithDigit(), and synthesizeVariable().
Definition at line 111 of file StringView.h.
Referenced by back(), llvm::itanium_demangle::NodeOrString::NodeOrString(), operator==(), llvm::itanium_demangle::AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseQualifiedType(), llvm::itanium_demangle::FloatLiteralImpl< Float >::printLeft(), and startsWith().
Definition at line 40 of file StringView.h.
References From, npos, P, and size().
Referenced by decodeMultiByteChar().
|
inline |
Definition at line 71 of file StringView.h.
References assert(), begin(), and empty().
Referenced by isMemberPointer(), isPointerType(), isTagType(), nodeListToNodeArray(), startsWithDigit(), and translateIntrinsicFunctionCode().
Definition at line 108 of file StringView.h.
References begin().
|
inline |
Definition at line 81 of file StringView.h.
References assert(), and empty().
Referenced by decodeMultiByteChar(), demanglePointerCVQualifiers(), isMemberPointer(), nodeListToNodeArray(), rebasedHexDigitToNumber(), and translateIntrinsicFunctionCode().
|
inline |
Definition at line 112 of file StringView.h.
Referenced by consumeFront(), llvm::itanium_demangle::AbstractManglingParser< ManglingParser< Alloc >, Alloc >::consumeIf(), decodeMultiByteChar(), demanglePointerCVQualifiers(), dropBack(), dropFront(), find(), nodeListToNodeArray(), OutputStream::operator+=(), operator==(), llvm::itanium_demangle::parse_discriminator(), llvm::ms_demangle::Demangler::parseTagUniqueName(), llvm::itanium_demangle::IntegerLiteral::printLeft(), rebasedHexDigitToNumber(), startsWith(), startsWithLocalScopePattern(), and substr().
Definition at line 100 of file StringView.h.
References begin(), C, and empty().
Referenced by consumeFront(), decodeMultiByteChar(), isFunctionType(), isPointerType(), nodeListToNodeArray(), llvm::ms_demangle::Demangler::parse(), llvm::itanium_demangle::AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseQualifiedType(), llvm::itanium_demangle::AbstractManglingParser< ManglingParser< Alloc >, Alloc >::parseSourceName(), llvm::ms_demangle::Demangler::parseTagUniqueName(), rebasedHexDigitToNumber(), and synthesizeVariable().
|
inline |
Definition at line 102 of file StringView.h.
References begin(), end(), llvm::lltok::equal, and size().
|
inline |
Definition at line 36 of file StringView.h.
References begin(), size(), and StringView().
Referenced by decodeMultiByteChar(), and rebasedHexDigitToNumber().
|
inline |
Definition at line 51 of file StringView.h.
References size(), and StringView().
Definition at line 25 of file StringView.h.
Referenced by decodeMultiByteChar(), and find().