Home
last modified time | relevance | path

Searched refs:NestedNameSpecifier (Results 1 – 25 of 70) sorted by relevance

123

/external/clang/lib/AST/
DNestedNameSpecifier.cpp27 NestedNameSpecifier *
28 NestedNameSpecifier::FindOrInsert(const ASTContext &Context, in FindOrInsert()
29 const NestedNameSpecifier &Mockup) { in FindOrInsert()
34 NestedNameSpecifier *NNS in FindOrInsert()
37 NNS = new (Context, llvm::alignOf<NestedNameSpecifier>()) in FindOrInsert()
38 NestedNameSpecifier(Mockup); in FindOrInsert()
45 NestedNameSpecifier *
46 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
47 NestedNameSpecifier *Prefix, IdentifierInfo *II) { in Create()
51 NestedNameSpecifier Mockup; in Create()
[all …]
DItaniumMangle.cpp462 void mangleUnresolvedPrefix(NestedNameSpecifier *qualifier,
464 void mangleUnresolvedName(NestedNameSpecifier *qualifier,
503 void manglePrefix(NestedNameSpecifier *qualifier);
537 NestedNameSpecifier *qualifier,
1062 void CXXNameMangler::mangleUnresolvedPrefix(NestedNameSpecifier *qualifier, in mangleUnresolvedPrefix()
1080 case NestedNameSpecifier::Global: in mangleUnresolvedPrefix()
1090 case NestedNameSpecifier::Super: in mangleUnresolvedPrefix()
1093 case NestedNameSpecifier::Namespace: in mangleUnresolvedPrefix()
1101 case NestedNameSpecifier::NamespaceAlias: in mangleUnresolvedPrefix()
1110 case NestedNameSpecifier::TypeSpec: in mangleUnresolvedPrefix()
[all …]
DASTTypeTraits.cpp112 else if (const NestedNameSpecifier *NNS = get<NestedNameSpecifier>()) in print()
DCMakeLists.txt41 NestedNameSpecifier.cpp
DStmtPrinter.cpp333 if (NestedNameSpecifier *Qualifier in VisitMSDependentExistsStmt()
815 NestedNameSpecifier *QualifierLoc = in VisitOMPReductionClause()
1205 if (NestedNameSpecifier *Qualifier = Node->getQualifier()) in VisitDeclRefExpr()
1217 if (NestedNameSpecifier *Qualifier = Node->getQualifier()) in VisitDependentScopeDeclRefExpr()
1555 if (NestedNameSpecifier *Qualifier = Node->getQualifier()) in VisitMemberExpr()
1915 if (NestedNameSpecifier *Qualifier = in VisitMSPropertyRefExpr()
2260 if (NestedNameSpecifier *Qualifier = Node->getQualifier()) in VisitCXXDependentScopeMemberExpr()
2275 if (NestedNameSpecifier *Qualifier = Node->getQualifier()) in VisitUnresolvedMemberExpr()
/external/clang/include/clang/AST/
DNestedNameSpecifier.h44 class NestedNameSpecifier : public llvm::FoldingSetNode {
60 llvm::PointerIntPair<NestedNameSpecifier *, 2, StoredSpecifierKind> Prefix;
95 NestedNameSpecifier() in NestedNameSpecifier() function
100 NestedNameSpecifier(const NestedNameSpecifier &Other) in NestedNameSpecifier() function
105 void operator=(const NestedNameSpecifier &) = delete;
109 static NestedNameSpecifier *FindOrInsert(const ASTContext &Context,
110 const NestedNameSpecifier &Mockup);
118 static NestedNameSpecifier *Create(const ASTContext &Context,
119 NestedNameSpecifier *Prefix,
123 static NestedNameSpecifier *Create(const ASTContext &Context,
[all …]
DTemplateName.h29 class NestedNameSpecifier; variable
363 llvm::PointerIntPair<NestedNameSpecifier *, 1> Qualifier;
371 QualifiedTemplateName(NestedNameSpecifier *NNS, bool TemplateKeyword, in QualifiedTemplateName()
378 NestedNameSpecifier *getQualifier() const { return Qualifier.getPointer(); } in getQualifier()
396 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, in Profile()
419 llvm::PointerIntPair<NestedNameSpecifier *, 1, bool> Qualifier;
444 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
449 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
455 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
460 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
[all …]
DASTImporter.h33 class NestedNameSpecifier; variable
156 NestedNameSpecifier *Import(NestedNameSpecifier *FromNNS);
DASTContext.h150 mutable llvm::FoldingSet<NestedNameSpecifier> NestedNameSpecifiers;
151 mutable NestedNameSpecifier *GlobalNestedNameSpecifier;
152 friend class NestedNameSpecifier; variable
1259 NestedNameSpecifier *NNS,
1262 NestedNameSpecifier *NNS,
1267 NestedNameSpecifier *NNS,
1271 ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS,
1743 TemplateName getQualifiedTemplateName(NestedNameSpecifier *NNS,
1747 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
1749 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
[all …]
DRecursiveASTVisitor.h218 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS);
699 NestedNameSpecifier *NNS) {
707 case NestedNameSpecifier::Identifier:
708 case NestedNameSpecifier::Namespace:
709 case NestedNameSpecifier::NamespaceAlias:
710 case NestedNameSpecifier::Global:
711 case NestedNameSpecifier::Super:
714 case NestedNameSpecifier::TypeSpec:
715 case NestedNameSpecifier::TypeSpecWithTemplate:
732 case NestedNameSpecifier::Identifier:
[all …]
DASTTypeTraits.h178 KIND_TO_KIND_ID(NestedNameSpecifier)
463 NestedNameSpecifier, void> : public PtrConverter<NestedNameSpecifier> {};
/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp46 static NestedNameSpecifier *createNestedNameSpecifier(
61 static NestedNameSpecifier *createNestedNameSpecifier(
65 static NestedNameSpecifier *createNestedNameSpecifierForScopeOf(
69 static NestedNameSpecifier *getFullyQualifiedNestedNameSpecifier(
70 const ASTContext &Ctx, NestedNameSpecifier *scope, bool WithGlobalNsPrefix);
76 NestedNameSpecifier *NNS = nullptr; in getFullyQualifiedTemplateName()
86 NestedNameSpecifier *QNNS = getFullyQualifiedNestedNameSpecifier( in getFullyQualifiedTemplateName()
202 static NestedNameSpecifier *createOuterNNS(const ASTContext &Ctx, const Decl *D, in createOuterNNS()
221 return NestedNameSpecifier::GlobalSpecifier(Ctx); in createOuterNNS()
227 static NestedNameSpecifier *getFullyQualifiedNestedNameSpecifier( in getFullyQualifiedNestedNameSpecifier()
[all …]
DLookup.cpp76 static bool isFullyQualified(const NestedNameSpecifier *NNS) { in isFullyQualified()
78 if (NNS->getKind() == NestedNameSpecifier::Global) in isFullyQualified()
85 std::string tooling::replaceNestedName(const NestedNameSpecifier *Use, in replaceNestedName()
/external/clang/include/clang/Sema/
DTypoCorrection.h43 NestedNameSpecifier *NNS = nullptr, unsigned CharDistance = 0,
53 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS = nullptr,
62 TypoCorrection(DeclarationName Name, NestedNameSpecifier *NNS = nullptr,
80 NestedNameSpecifier *getCorrectionSpecifier() const { in getCorrectionSpecifier()
83 void setCorrectionSpecifier(NestedNameSpecifier *NNS) { in setCorrectionSpecifier()
240 NestedNameSpecifier *CorrectionNameSpec;
257 NestedNameSpecifier *TypoNNS = nullptr)
291 void setTypoNNS(NestedNameSpecifier *NNS) { TypoNNS = NNS; } in setTypoNNS()
317 NestedNameSpecifier *TypoNNS;
DSemaInternal.h228 NestedNameSpecifier* NameSpecifier;
248 NestedNameSpecifier *&NNS);
295 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
DCodeCompleteConsumer.h151 class NestedNameSpecifier; variable
688 NestedNameSpecifier *Qualifier;
693 NestedNameSpecifier *Qualifier = nullptr,
/external/clang/lib/Index/
DIndexTypeSourceInfo.cpp166 case NestedNameSpecifier::Identifier: in indexNestedNameSpecifierLoc()
167 case NestedNameSpecifier::Global: in indexNestedNameSpecifierLoc()
168 case NestedNameSpecifier::Super: in indexNestedNameSpecifierLoc()
171 case NestedNameSpecifier::Namespace: in indexNestedNameSpecifierLoc()
175 case NestedNameSpecifier::NamespaceAlias: in indexNestedNameSpecifierLoc()
180 case NestedNameSpecifier::TypeSpec: in indexNestedNameSpecifierLoc()
181 case NestedNameSpecifier::TypeSpecWithTemplate: in indexNestedNameSpecifierLoc()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp81 NestedNameSpecifier *NNS = SS.getScopeRep(); in computeDeclContext()
143 case NestedNameSpecifier::Identifier: in computeDeclContext()
146 case NestedNameSpecifier::Namespace: in computeDeclContext()
149 case NestedNameSpecifier::NamespaceAlias: in computeDeclContext()
152 case NestedNameSpecifier::TypeSpec: in computeDeclContext()
153 case NestedNameSpecifier::TypeSpecWithTemplate: { in computeDeclContext()
159 case NestedNameSpecifier::Global: in computeDeclContext()
162 case NestedNameSpecifier::Super: in computeDeclContext()
181 CXXRecordDecl *Sema::getCurrentInstantiationOf(NestedNameSpecifier *NNS) { in getCurrentInstantiationOf()
358 NamedDecl *Sema::FindFirstQualifierInScope(Scope *S, NestedNameSpecifier *NNS) { in FindFirstQualifierInScope()
[all …]
DSemaLookup.cpp2198 if (NNS && NNS->getKind() == NestedNameSpecifier::Super) in LookupQualifiedName()
2233 NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
2234 if (NNS->getKind() == NestedNameSpecifier::Super) in LookupParsedName()
3816 NestedNameSpecifier *NNS, in getNestedNameSpecifierIdentifiers()
3818 if (NestedNameSpecifier *Prefix = NNS->getPrefix()) in getNestedNameSpecifierIdentifiers()
3826 case NestedNameSpecifier::Identifier: in getNestedNameSpecifierIdentifiers()
3830 case NestedNameSpecifier::Namespace: in getNestedNameSpecifierIdentifiers()
3836 case NestedNameSpecifier::NamespaceAlias: in getNestedNameSpecifierIdentifiers()
3840 case NestedNameSpecifier::TypeSpecWithTemplate: in getNestedNameSpecifierIdentifiers()
3841 case NestedNameSpecifier::TypeSpec: in getNestedNameSpecifierIdentifiers()
[all …]
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp119 else if (const NestedNameSpecifier *NNS = in findMatch()
120 DynNode.get<NestedNameSpecifier>()) in findMatch()
185 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) { in TraverseNestedNameSpecifier()
231 bool baseTraverse(const NestedNameSpecifier &NNS) { in baseTraverse()
233 const_cast<NestedNameSpecifier*>(&NNS)); in baseTraverse()
372 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS);
469 } else if (auto *N = Node.get<NestedNameSpecifier>()) { in match()
590 void matchDispatch(const NestedNameSpecifier *Node) { in matchDispatch()
591 matchWithoutFilter(*Node, Matchers->NestedNameSpecifier); in matchDispatch()
847 bool MatchASTVisitor::TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) { in TraverseNestedNameSpecifier()
[all …]
/external/clang/include/clang/Tooling/Core/
DLookup.h24 class NestedNameSpecifier; variable
40 std::string replaceNestedName(const NestedNameSpecifier *Use,
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h127 typedef internal::Matcher<NestedNameSpecifier> NestedNameSpecifierMatcher;
4852 internal::Matcher<NestedNameSpecifier>, InnerMatcher) { in AST_MATCHER_P() argument
4853 if (const NestedNameSpecifier *Qualifier = Node.getQualifier()) in AST_MATCHER_P()
4965 const internal::VariadicAllOfMatcher<NestedNameSpecifier> nestedNameSpecifier;
4975 internal::Matcher<NestedNameSpecifier>, InnerMatcher, 1) {
4977 new internal::LocMatcher<NestedNameSpecifierLoc, NestedNameSpecifier>(
4993 AST_MATCHER_P(NestedNameSpecifier, specifiesType, in AST_MATCHER_P() argument
5025 AST_MATCHER_P_OVERLOAD(NestedNameSpecifier, hasPrefix,
5026 internal::Matcher<NestedNameSpecifier>, InnerMatcher,
5028 const NestedNameSpecifier *NextNode = Node.getPrefix();
[all …]
/external/clang/lib/CodeGen/
DCGCXX.cpp290 NestedNameSpecifier *Qual, in BuildAppleKextVirtualCall()
292 assert((Qual->getKind() == NestedNameSpecifier::TypeSpec) && in BuildAppleKextVirtualCall()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.h331 } else if (const NestedNameSpecifier *NNS = in run()
332 Nodes->getNodeAs<NestedNameSpecifier>(Id)) { in run()
/external/clang/lib/Serialization/
DASTReader.cpp5520 NestedNameSpecifier *NNS = ReadNestedNameSpecifier(*Loc.F, Record, Idx); in readTypeRecord()
5604 NestedNameSpecifier *NNS = ReadNestedNameSpecifier(*Loc.F, Record, Idx); in readTypeRecord()
5615 NestedNameSpecifier *NNS = ReadNestedNameSpecifier(*Loc.F, Record, Idx); in readTypeRecord()
7788 NestedNameSpecifier *NNS = ReadNestedNameSpecifier(F, Record, Idx); in ReadTemplateName()
7795 NestedNameSpecifier *NNS = ReadNestedNameSpecifier(F, Record, Idx); in ReadTemplateName()
8025 NestedNameSpecifier *
8029 NestedNameSpecifier *NNS = nullptr, *Prev = nullptr; in ReadNestedNameSpecifier()
8031 NestedNameSpecifier::SpecifierKind Kind in ReadNestedNameSpecifier()
8032 = (NestedNameSpecifier::SpecifierKind)Record[Idx++]; in ReadNestedNameSpecifier()
8034 case NestedNameSpecifier::Identifier: { in ReadNestedNameSpecifier()
[all …]

123