reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
202 virtual StringView getBaseName() const { return StringView(); } 263 const StringView Suffix; 266 DotSuffix(const Node *Prefix_, StringView Suffix_) 281 StringView Ext; 284 VendorExtQualType(const Node *Ty_, StringView Ext_) 370 const StringView Postfix; 373 PostfixQualifiedType(Node *Ty_, StringView Postfix_) 385 const StringView Name; 388 NameType(StringView Name_) : Node(KNameType), Name(Name_) {} 392 StringView getName() const { return Name; } 393 StringView getBaseName() const override { return Name; } 399 StringView Kind; 402 ElaboratedTypeSpefType(StringView Kind_, Node *Child_) 416 StringView Tag; 418 AbiTagAttr(Node* Base_, StringView Tag_) 450 StringView Protocol; 455 ObjCProtoName(const Node *Ty_, StringView Protocol_) 615 /* implicit */ NodeOrString(StringView Str) { 634 StringView asString() const { 847 const StringView Special; 851 SpecialName(StringView Special_, const Node *Child_) 890 StringView getBaseName() const override { return Name->getBaseName(); } 926 StringView getBaseName() const override { return Name->getBaseName(); } 1340 StringView getBaseName() const override { return Name->getBaseName(); } 1357 StringView getBaseName() const override { return Child->getBaseName(); } 1372 StringView getBaseName() const override { return Child->getBaseName(); } 1398 StringView getBaseName() const override { 1450 StringView getBaseName() const override { 1526 const StringView Count; 1529 UnnamedTypeName(StringView Count_) : Node(KUnnamedTypeName), Count(Count_) {} 1543 StringView Count; 1547 StringView Count_) 1593 const StringView InfixOperator; 1597 BinaryExpr(const Node *LHS_, StringView InfixOperator_, const Node *RHS_) 1643 const StringView Operator; 1646 PostfixExpr(const Node *Child_, StringView Operator_) 1683 const StringView Kind; 1687 MemberExpr(const Node *LHS_, StringView Kind_, const Node *RHS_) 1700 const StringView Prefix; 1702 const StringView Postfix; 1705 EnclosingExpr(StringView Prefix_, Node *Infix_, StringView Postfix_) 1705 EnclosingExpr(StringView Prefix_, Node *Infix_, StringView Postfix_) 1720 const StringView CastKind; 1725 CastExpr(StringView CastKind_, const Node *To_, const Node *From_) 1836 StringView Prefix; 1840 PrefixExpr(StringView Prefix_, Node *Child_) 1854 StringView Number; 1857 FunctionParam(StringView Number_) : Node(KFunctionParam), Number(Number_) {} 1953 StringView OperatorName; 1957 FoldExpr(bool IsLeftFold_, StringView OperatorName_, const Node *Pack_, 2082 StringView Integer; 2085 IntegerCastExpr(const Node *Ty_, StringView Integer_) 2099 StringView Type; 2100 StringView Value; 2103 IntegerLiteral(StringView Type_, StringView Value_) 2103 IntegerLiteral(StringView Type_, StringView Value_) 2141 const StringView Contents; 2147 FloatLiteralImpl(StringView Contents_) 2178 s += StringView(num, num + n); 2406 template <class T, class... Args> Node *make(Args &&... args) { 2407 return ASTAllocator.template makeNode<T>(std::forward<Args>(args)...); 2426 bool consumeIf(StringView S) { 2427 if (StringView(First, Last).startsWith(S)) { 2452 StringView parseNumber(bool AllowNegative = false); 2455 StringView parseBareSourceName(); 2466 Node *parsePrefixExpr(StringView Kind); 2467 Node *parseBinaryExpr(StringView Kind); 2468 Node *parseIntegerLiteral(StringView Lit); 2686 StringView Count = parseNumber(); 2698 StringView("yptn").find(look(1)) != StringView::npos) { 2741 StringView Count = parseNumber(); 2763 StringView Name(First, First + Length); 3421 StringView SN = parseBareSourceName(); 3433 StringView 3442 return StringView(Tmp, First); 3459 StringView AbstractManglingParser<Alloc, Derived>::parseBareSourceName() { 3463 StringView R(First, First + Int); 3551 StringView DimensionNumber = parseNumber(); 3643 StringView ElabSpef; 3667 StringView Qual = parseBareSourceName(); 3675 StringView ProtoSourceName = Qual.dropFront(std::strlen("objcproto")); 3676 StringView Proto; 3840 StringView Res = parseBareSourceName(); 4059 Node *AbstractManglingParser<Derived, Alloc>::parsePrefixExpr(StringView Kind) { 4067 Node *AbstractManglingParser<Derived, Alloc>::parseBinaryExpr(StringView Kind) { 4079 AbstractManglingParser<Derived, Alloc>::parseIntegerLiteral(StringView Lit) { 4080 StringView Tmp = parseNumber(true); 4107 StringView Num = parseNumber(); 4118 StringView Num = parseNumber(); 4303 StringView N = parseNumber(); 4381 StringView OperatorName; 5223 StringView Data(First, First + N); 5545 Encoding = make<DotSuffix>(Encoding, StringView(First, Last));include/llvm/Demangle/MicrosoftDemangle.h
147 SymbolNode *parse(StringView &MangledName); 149 TagTypeNode *parseTagUniqueName(StringView &MangledName); 157 SymbolNode *demangleEncodedSymbol(StringView &MangledName, 159 SymbolNode *demangleDeclarator(StringView &MangledName); 160 SymbolNode *demangleMD5Name(StringView &MangledName); 161 SymbolNode *demangleTypeinfoName(StringView &MangledName); 163 VariableSymbolNode *demangleVariableEncoding(StringView &MangledName, 165 FunctionSymbolNode *demangleFunctionEncoding(StringView &MangledName); 167 Qualifiers demanglePointerExtQualifiers(StringView &MangledName); 170 TypeNode *demangleType(StringView &MangledName, QualifierMangleMode QMM); 171 PrimitiveTypeNode *demanglePrimitiveType(StringView &MangledName); 172 CustomTypeNode *demangleCustomType(StringView &MangledName); 173 TagTypeNode *demangleClassType(StringView &MangledName); 174 PointerTypeNode *demanglePointerType(StringView &MangledName); 175 PointerTypeNode *demangleMemberPointerType(StringView &MangledName); 176 FunctionSignatureNode *demangleFunctionType(StringView &MangledName, 179 ArrayTypeNode *demangleArrayType(StringView &MangledName); 181 NodeArrayNode *demangleFunctionParameterList(StringView &MangledName, 183 NodeArrayNode *demangleTemplateParameterList(StringView &MangledName); 185 std::pair<uint64_t, bool> demangleNumber(StringView &MangledName); 186 uint64_t demangleUnsigned(StringView &MangledName); 187 int64_t demangleSigned(StringView &MangledName); 189 void memorizeString(StringView s); 193 StringView copyString(StringView Borrowed); 193 StringView copyString(StringView Borrowed); 195 QualifiedNameNode *demangleFullyQualifiedTypeName(StringView &MangledName); 196 QualifiedNameNode *demangleFullyQualifiedSymbolName(StringView &MangledName); 198 IdentifierNode *demangleUnqualifiedTypeName(StringView &MangledName, 200 IdentifierNode *demangleUnqualifiedSymbolName(StringView &MangledName, 203 QualifiedNameNode *demangleNameScopeChain(StringView &MangledName, 205 IdentifierNode *demangleNameScopePiece(StringView &MangledName); 207 NamedIdentifierNode *demangleBackRefName(StringView &MangledName); 208 IdentifierNode *demangleTemplateInstantiationName(StringView &MangledName, 212 IdentifierNode *demangleFunctionIdentifierCode(StringView &MangledName); 214 demangleFunctionIdentifierCode(StringView &MangledName, 216 StructorIdentifierNode *demangleStructorIdentifier(StringView &MangledName, 219 demangleConversionOperatorIdentifier(StringView &MangledName); 221 demangleLiteralOperatorIdentifier(StringView &MangledName); 223 SymbolNode *demangleSpecialIntrinsic(StringView &MangledName); 225 demangleSpecialTableSymbolNode(StringView &MangledName, 228 demangleLocalStaticGuard(StringView &MangledName, bool IsThread); 230 StringView &MangledName, 231 StringView VariableName); 234 StringView &MangledName); 235 FunctionSymbolNode *demangleInitFiniStub(StringView &MangledName, 238 NamedIdentifierNode *demangleSimpleName(StringView &MangledName, 240 NamedIdentifierNode *demangleAnonymousNamespaceName(StringView &MangledName); 241 NamedIdentifierNode *demangleLocallyScopedNamePiece(StringView &MangledName); 242 EncodedStringLiteralNode *demangleStringLiteral(StringView &MangledName); 243 FunctionSymbolNode *demangleVcallThunkNode(StringView &MangledName); 245 StringView demangleSimpleString(StringView &MangledName, bool Memorize); 245 StringView demangleSimpleString(StringView &MangledName, bool Memorize); 247 FuncClass demangleFunctionClass(StringView &MangledName); 248 CallingConv demangleCallingConvention(StringView &MangledName); 249 StorageClass demangleVariableStorageClass(StringView &MangledName); 250 bool demangleThrowSpecification(StringView &MangledName); 251 wchar_t demangleWcharLiteral(StringView &MangledName); 252 uint8_t demangleCharLiteral(StringView &MangledName); 254 std::pair<Qualifiers, bool> demangleQualifiers(StringView &MangledName);include/llvm/Demangle/MicrosoftDemangleNodes.h
387 StringView Name; 406 StringView Name; 519 void output(OutputStream &OS, OutputFlags Flags, StringView Separator) const; 604 StringView DecodedString;include/llvm/Demangle/StringView.h
39 StringView substr(size_t From) const { 54 StringView substr(size_t From, size_t To) const { 62 StringView dropFront(size_t N = 1) const { 68 StringView dropBack(size_t N = 1) const { 96 bool consumeFront(StringView S) { 105 bool startsWith(StringView Str) const { 119 inline bool operator==(const StringView &LHS, const StringView &RHS) { 119 inline bool operator==(const StringView &LHS, const StringView &RHS) {include/llvm/Demangle/Utility.h
80 OutputStream &operator+=(StringView R) { 96 OutputStream &operator<<(StringView R) { return (*this += R); }lib/Demangle/ItaniumDemangle.cpp
75 template<typename ...Ts> static bool anyWantNewline(Ts ...Vs) { 83 void print(StringView SV) { 195 template<typename T> void printWithPendingNewline(T V) { 201 template<typename T> void printWithComma(T V) { 215 template<typename T, typename ...Rest> void operator()(T V, Rest ...Vs) { 215 template<typename T, typename ...Rest> void operator()(T V, Rest ...Vs) { 319 template<typename T, typename ...Args> T *makeNode(Args &&...args) { 321 T(std::forward<Args>(args)...);lib/Demangle/MicrosoftDemangle.cpp
32 static bool startsWithDigit(StringView S) { 42 static bool isMemberPointer(StringView MangledName, bool &Error) { 106 consumeSpecialIntrinsicKind(StringView &MangledName) { 142 static bool startsWithLocalScopePattern(StringView S) { 147 if (End == StringView::npos) 149 StringView Candidate = S.substr(0, End); 181 static bool isTagType(StringView S) { 192 static bool isCustomType(StringView S) { return S[0] == '?'; } 194 static bool isPointerType(StringView S) { 209 static bool isArrayType(StringView S) { return S[0] == 'Y'; } 211 static bool isFunctionType(StringView S) { 216 demangleFunctionRefQualifier(StringView &MangledName) { 225 demanglePointerCVQualifiers(StringView &MangledName) { 247 StringView Demangler::copyString(StringView Borrowed) { 247 StringView Demangler::copyString(StringView Borrowed) { 255 Demangler::demangleSpecialTableSymbolNode(StringView &MangledName, 295 Demangler::demangleLocalStaticGuard(StringView &MangledName, bool IsThread) { 319 StringView Name) { 336 StringView Name) { 343 StringView VariableName) { 351 ArenaAllocator &Arena, StringView &MangledName, StringView VariableName) { 351 ArenaAllocator &Arena, StringView &MangledName, StringView VariableName) { 365 StringView &MangledName) { 381 FunctionSymbolNode *Demangler::demangleInitFiniStub(StringView &MangledName, 430 SymbolNode *Demangler::demangleSpecialIntrinsic(StringView &MangledName) { 484 Demangler::demangleFunctionIdentifierCode(StringView &MangledName) { 503 Demangler::demangleStructorIdentifier(StringView &MangledName, 511 Demangler::demangleConversionOperatorIdentifier(StringView &MangledName) { 518 Demangler::demangleLiteralOperatorIdentifier(StringView &MangledName) { 666 Demangler::demangleFunctionIdentifierCode(StringView &MangledName, 700 SymbolNode *Demangler::demangleEncodedSymbol(StringView &MangledName, 730 SymbolNode *Demangler::demangleDeclarator(StringView &MangledName) { 754 SymbolNode *Demangler::demangleMD5Name(StringView &MangledName) { 760 if (MD5Last == StringView::npos) { 779 StringView MD5(Start, MangledName.begin()); 786 SymbolNode *Demangler::demangleTypeinfoName(StringView &MangledName) { 799 SymbolNode *Demangler::parse(StringView &MangledName) { 825 TagTypeNode *Demangler::parseTagUniqueName(StringView &MangledName) { 842 VariableSymbolNode *Demangler::demangleVariableEncoding(StringView &MangledName, 893 std::pair<uint64_t, bool> Demangler::demangleNumber(StringView &MangledName) { 920 uint64_t Demangler::demangleUnsigned(StringView &MangledName) { 929 int64_t Demangler::demangleSigned(StringView &MangledName) { 941 void Demangler::memorizeString(StringView S) { 952 NamedIdentifierNode *Demangler::demangleBackRefName(StringView &MangledName) { 976 StringView Owned = copyString(Name); 982 Demangler::demangleTemplateInstantiationName(StringView &MangledName, 1015 NamedIdentifierNode *Demangler::demangleSimpleName(StringView &MangledName, 1017 StringView S = demangleSimpleString(MangledName, Memorize); 1033 uint8_t Demangler::demangleCharLiteral(StringView &MangledName) { 1046 StringView Nibbles = MangledName.substr(0, 2); 1088 wchar_t Demangler::demangleWcharLiteral(StringView &MangledName) { 1255 FunctionSymbolNode *Demangler::demangleVcallThunkNode(StringView &MangledName) { 1274 Demangler::demangleStringLiteral(StringView &MangledName) { 1277 StringView CRC; 1315 if (CrcEndPos == StringView::npos) 1392 StringView Demangler::demangleSimpleString(StringView &MangledName, 1392 StringView Demangler::demangleSimpleString(StringView &MangledName, 1394 StringView S; 1413 Demangler::demangleAnonymousNamespaceName(StringView &MangledName) { 1420 if (EndPos == StringView::npos) { 1424 StringView NamespaceKey = MangledName.substr(0, EndPos); 1431 Demangler::demangleLocallyScopedNamePiece(StringView &MangledName) { 1467 Demangler::demangleFullyQualifiedTypeName(StringView &MangledName) { 1485 Demangler::demangleFullyQualifiedSymbolName(StringView &MangledName) { 1514 IdentifierNode *Demangler::demangleUnqualifiedTypeName(StringView &MangledName, 1530 Demangler::demangleUnqualifiedSymbolName(StringView &MangledName, 1541 IdentifierNode *Demangler::demangleNameScopePiece(StringView &MangledName) { 1570 Demangler::demangleNameScopeChain(StringView &MangledName, 1601 FuncClass Demangler::demangleFunctionClass(StringView &MangledName) { 1684 CallingConv Demangler::demangleCallingConvention(StringView &MangledName) { 1719 StorageClass Demangler::demangleVariableStorageClass(StringView &MangledName) { 1738 Demangler::demangleQualifiers(StringView &MangledName) { 1770 TypeNode *Demangler::demangleType(StringView &MangledName, 1818 bool Demangler::demangleThrowSpecification(StringView &MangledName) { 1828 FunctionSignatureNode *Demangler::demangleFunctionType(StringView &MangledName, 1855 Demangler::demangleFunctionEncoding(StringView &MangledName) { 1907 CustomTypeNode *Demangler::demangleCustomType(StringView &MangledName) { 1921 PrimitiveTypeNode *Demangler::demanglePrimitiveType(StringView &MangledName) { 1980 TagTypeNode *Demangler::demangleClassType(StringView &MangledName) { 2010 PointerTypeNode *Demangler::demanglePointerType(StringView &MangledName) { 2028 PointerTypeNode *Demangler::demangleMemberPointerType(StringView &MangledName) { 2058 Qualifiers Demangler::demanglePointerExtQualifiers(StringView &MangledName) { 2070 ArrayTypeNode *Demangler::demangleArrayType(StringView &MangledName) { 2115 NodeArrayNode *Demangler::demangleFunctionParameterList(StringView &MangledName, 2181 Demangler::demangleTemplateParameterList(StringView &MangledName) { 2343 StringView Name{MangledName};lib/Demangle/MicrosoftDemangleNodes.cpp
155 StringView Separator) const {
lib/Support/ItaniumManglingCanonicalizer.cpp30 void operator()(StringView Str) { 58 void profileCtor(llvm::FoldingSetNodeID &ID, Node::Kind K, T ...V) { 71 template<typename ...T> void operator()(T ...V) { 108 std::pair<Node *, bool> getOrCreateNode(bool CreateNewNodes, Args &&... As) { 116 T(std::forward<Args>(As)...), 135 T *Result = new (New->getNode()) T(std::forward<Args>(As)...); 157 template<typename T, typename ...Args> Node *makeNodeSimple(Args &&...As) { 159 getOrCreateNode<T>(CreateNewNodes, std::forward<Args>(As)...); 179 template<typename ...Args> Node *make(Args &&...As) { 180 return Self.makeNodeSimple<T>(std::forward<Args>(As)...); 185 template<typename T, typename ...Args> Node *makeNode(Args &&...As) { 186 return MakeNodeImpl<T>{*this}.make(std::forward<Args>(As)...);tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
277 template <typename T, typename... Args> T *makeNode(Args &&... args) { 279 T(std::forward<Args>(args)...);tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
221 StringView sv(record.UniqueName.begin(), record.UniqueName.size()); 543 StringView name{pub->Name.begin(), pub->Name.size()};tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
538 StringView sv(record.UniqueName.begin(), record.UniqueName.size());
unittests/Demangle/ItaniumDemangleTest.cpp26 template <typename T, typename... Args> T *makeNode(Args &&... args) { 28 T(std::forward<Args>(args)...);usr/include/c++/7.4.0/bits/move.h
72 constexpr _Tp&& 73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept 83 constexpr _Tp&& 84 forward(typename std::remove_reference<_Tp>::type&& __t) noexceptusr/include/c++/7.4.0/type_traits
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type 354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type 588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type 588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type 742 : public __is_signed_helper<_Tp>::type 748 : public __and_<is_arithmetic<_Tp>, __not_<is_signed<_Tp>>> 748 : public __and_<is_arithmetic<_Tp>, __not_<is_signed<_Tp>>> 1554 { typedef _Tp type; }; 1563 { typedef _Tp type; }; 1574 remove_const<typename remove_volatile<_Tp>::type>::type type; 1629 { typedef _Tp type; }; 1633 { typedef _Tp type; };