Home
last modified time | relevance | path

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

123

/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDNestedNameSpecifier.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 …]
HDItaniumMangle.cpp333 void mangleUnresolvedPrefix(NestedNameSpecifier *qualifier,
335 void mangleUnresolvedName(NestedNameSpecifier *qualifier,
360 void manglePrefix(NestedNameSpecifier *qualifier);
390 NestedNameSpecifier *qualifier,
802 void CXXNameMangler::mangleUnresolvedPrefix(NestedNameSpecifier *qualifier, in mangleUnresolvedPrefix()
820 case NestedNameSpecifier::Global: in mangleUnresolvedPrefix()
830 case NestedNameSpecifier::Super: in mangleUnresolvedPrefix()
833 case NestedNameSpecifier::Namespace: in mangleUnresolvedPrefix()
841 case NestedNameSpecifier::NamespaceAlias: in mangleUnresolvedPrefix()
850 case NestedNameSpecifier::TypeSpec: in mangleUnresolvedPrefix()
[all …]
HDASTTypeTraits.cpp116 else if (const NestedNameSpecifier *NNS = get<NestedNameSpecifier>()) in print()
HDStmtPrinter.cpp331 if (NestedNameSpecifier *Qualifier in VisitMSDependentExistsStmt()
737 NestedNameSpecifier *QualifierLoc = in VisitOMPReductionClause()
971 if (NestedNameSpecifier *Qualifier = Node->getQualifier()) in VisitDeclRefExpr()
983 if (NestedNameSpecifier *Qualifier = Node->getQualifier()) in VisitDependentScopeDeclRefExpr()
1302 if (NestedNameSpecifier *Qualifier = Node->getQualifier()) in VisitMemberExpr()
1664 if (NestedNameSpecifier *Qualifier = in VisitMSPropertyRefExpr()
1995 if (NestedNameSpecifier *Qualifier = Node->getQualifier()) in VisitCXXDependentScopeMemberExpr()
2010 if (NestedNameSpecifier *Qualifier = Node->getQualifier()) in VisitUnresolvedMemberExpr()
HDASTImporter.cpp330 NestedNameSpecifier *NNS1, in IsStructurallyEquivalent()
331 NestedNameSpecifier *NNS2) { in IsStructurallyEquivalent()
1817 NestedNameSpecifier *ToQualifier = nullptr; in VisitElaboratedType()
5529 NestedNameSpecifier *ASTImporter::Import(NestedNameSpecifier *FromNNS) { in Import()
5533 NestedNameSpecifier *prefix = Import(FromNNS->getPrefix()); in Import()
5536 case NestedNameSpecifier::Identifier: in Import()
5538 return NestedNameSpecifier::Create(ToContext, prefix, II); in Import()
5542 case NestedNameSpecifier::Namespace: in Import()
5545 return NestedNameSpecifier::Create(ToContext, prefix, NS); in Import()
5549 case NestedNameSpecifier::NamespaceAlias: in Import()
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDNestedNameSpecifier.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 …]
HDTemplateName.h28 class NestedNameSpecifier; variable
391 llvm::PointerIntPair<NestedNameSpecifier *, 1> Qualifier;
399 QualifiedTemplateName(NestedNameSpecifier *NNS, bool TemplateKeyword, in QualifiedTemplateName()
406 NestedNameSpecifier *getQualifier() const { return Qualifier.getPointer(); } in getQualifier()
424 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, in Profile()
447 llvm::PointerIntPair<NestedNameSpecifier *, 1, bool> Qualifier;
472 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
477 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
483 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
488 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
[all …]
HDASTImporter.h32 class NestedNameSpecifier; variable
155 NestedNameSpecifier *Import(NestedNameSpecifier *FromNNS);
HDASTTypeTraits.h169 KIND_TO_KIND_ID(NestedNameSpecifier)
357 Decl *, Stmt *, Type *, NestedNameSpecifier *, CXXCtorInitializer *>
381 NestedNameSpecifier, void> : public PtrConverter<NestedNameSpecifier> {};
HDDataRecursiveASTVisitor.h191 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS);
612 NestedNameSpecifier *NNS) { in TraverseNestedNameSpecifier()
620 case NestedNameSpecifier::Identifier: in TraverseNestedNameSpecifier()
621 case NestedNameSpecifier::Namespace: in TraverseNestedNameSpecifier()
622 case NestedNameSpecifier::NamespaceAlias: in TraverseNestedNameSpecifier()
623 case NestedNameSpecifier::Global: in TraverseNestedNameSpecifier()
624 case NestedNameSpecifier::Super: in TraverseNestedNameSpecifier()
627 case NestedNameSpecifier::TypeSpec: in TraverseNestedNameSpecifier()
628 case NestedNameSpecifier::TypeSpecWithTemplate: in TraverseNestedNameSpecifier()
645 case NestedNameSpecifier::Identifier: in TraverseNestedNameSpecifierLoc()
[all …]
HDRecursiveASTVisitor.h195 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS);
681 NestedNameSpecifier *NNS) { in TraverseNestedNameSpecifier()
689 case NestedNameSpecifier::Identifier: in TraverseNestedNameSpecifier()
690 case NestedNameSpecifier::Namespace: in TraverseNestedNameSpecifier()
691 case NestedNameSpecifier::NamespaceAlias: in TraverseNestedNameSpecifier()
692 case NestedNameSpecifier::Global: in TraverseNestedNameSpecifier()
693 case NestedNameSpecifier::Super: in TraverseNestedNameSpecifier()
696 case NestedNameSpecifier::TypeSpec: in TraverseNestedNameSpecifier()
697 case NestedNameSpecifier::TypeSpecWithTemplate: in TraverseNestedNameSpecifier()
714 case NestedNameSpecifier::Identifier: in TraverseNestedNameSpecifierLoc()
[all …]
HDASTContext.h144 mutable llvm::FoldingSet<NestedNameSpecifier> NestedNameSpecifiers;
145 mutable NestedNameSpecifier *GlobalNestedNameSpecifier;
146 friend class NestedNameSpecifier; variable
1175 NestedNameSpecifier *NNS,
1178 NestedNameSpecifier *NNS,
1183 NestedNameSpecifier *NNS,
1187 NestedNameSpecifier *NNS,
1631 TemplateName getQualifiedTemplateName(NestedNameSpecifier *NNS,
1635 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
1637 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDTypoCorrection.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()
234 NestedNameSpecifier *CorrectionNameSpec;
251 NestedNameSpecifier *TypoNNS = nullptr)
285 void setTypoNNS(NestedNameSpecifier *NNS) { TypoNNS = NNS; } in setTypoNNS()
311 NestedNameSpecifier *TypoNNS;
HDSemaInternal.h224 NestedNameSpecifier* NameSpecifier;
244 NestedNameSpecifier *&NNS);
291 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
HDCodeCompleteConsumer.h149 class NestedNameSpecifier; variable
686 NestedNameSpecifier *Qualifier;
691 NestedNameSpecifier *Qualifier = nullptr,
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaCXXScopeSpec.cpp81 NestedNameSpecifier *NNS = SS.getScopeRep(); in computeDeclContext()
133 case NestedNameSpecifier::Identifier: in computeDeclContext()
136 case NestedNameSpecifier::Namespace: in computeDeclContext()
139 case NestedNameSpecifier::NamespaceAlias: in computeDeclContext()
142 case NestedNameSpecifier::TypeSpec: in computeDeclContext()
143 case NestedNameSpecifier::TypeSpecWithTemplate: { in computeDeclContext()
149 case NestedNameSpecifier::Global: in computeDeclContext()
152 case NestedNameSpecifier::Super: in computeDeclContext()
171 CXXRecordDecl *Sema::getCurrentInstantiationOf(NestedNameSpecifier *NNS) { in getCurrentInstantiationOf()
331 NamedDecl *Sema::FindFirstQualifierInScope(Scope *S, NestedNameSpecifier *NNS) { in FindFirstQualifierInScope()
[all …]
HDSemaLookup.cpp1945 if (NNS && NNS->getKind() == NestedNameSpecifier::Super) in LookupQualifiedName()
1980 NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
1981 if (NNS->getKind() == NestedNameSpecifier::Super) in LookupParsedName()
3554 NestedNameSpecifier *NNS, in getNestedNameSpecifierIdentifiers()
3556 if (NestedNameSpecifier *Prefix = NNS->getPrefix()) in getNestedNameSpecifierIdentifiers()
3564 case NestedNameSpecifier::Identifier: in getNestedNameSpecifierIdentifiers()
3568 case NestedNameSpecifier::Namespace: in getNestedNameSpecifierIdentifiers()
3574 case NestedNameSpecifier::NamespaceAlias: in getNestedNameSpecifierIdentifiers()
3578 case NestedNameSpecifier::TypeSpecWithTemplate: in getNestedNameSpecifierIdentifiers()
3579 case NestedNameSpecifier::TypeSpec: in getNestedNameSpecifierIdentifiers()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/ASTMatchers/
HDASTMatchFinder.cpp119 else if (const NestedNameSpecifier *NNS = in findMatch()
120 DynNode.get<NestedNameSpecifier>()) in findMatch()
185 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) { in TraverseNestedNameSpecifier()
234 bool baseTraverse(const NestedNameSpecifier &NNS) { in baseTraverse()
236 const_cast<NestedNameSpecifier*>(&NNS)); in baseTraverse()
375 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS);
472 } else if (auto *N = Node.get<NestedNameSpecifier>()) { in match()
596 void matchDispatch(const NestedNameSpecifier *Node) { in matchDispatch()
597 matchWithoutFilter(*Node, Matchers->NestedNameSpecifier); in matchDispatch()
863 bool MatchASTVisitor::TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) { in TraverseNestedNameSpecifier()
[all …]
/NextBSD/lib/clang/libclangast/
HDMakefile.depend440 NestedNameSpecifier.o: AttrList.inc.h
441 NestedNameSpecifier.o: Attrs.inc.h
442 NestedNameSpecifier.o: CommentCommandList.inc.h
443 NestedNameSpecifier.o: DeclNodes.inc.h
444 NestedNameSpecifier.o: DiagnosticCommonKinds.inc.h
445 NestedNameSpecifier.o: StmtNodes.inc.h
446 NestedNameSpecifier.po: AttrList.inc.h
447 NestedNameSpecifier.po: Attrs.inc.h
448 NestedNameSpecifier.po: CommentCommandList.inc.h
449 NestedNameSpecifier.po: DeclNodes.inc.h
[all …]
HDMakefile45 NestedNameSpecifier.cpp \
/NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/
HDASTMatchers.h127 typedef internal::Matcher<NestedNameSpecifier> NestedNameSpecifierMatcher;
3836 internal::Matcher<NestedNameSpecifier>, InnerMatcher) { in AST_MATCHER_P() argument
3837 if (const NestedNameSpecifier *Qualifier = Node.getQualifier()) in AST_MATCHER_P()
3896 const internal::VariadicAllOfMatcher<NestedNameSpecifier> nestedNameSpecifier;
3906 internal::Matcher<NestedNameSpecifier>, InnerMatcher, 1) {
3908 new internal::LocMatcher<NestedNameSpecifierLoc, NestedNameSpecifier>(
3922 AST_MATCHER_P(NestedNameSpecifier, specifiesType, in AST_MATCHER_P() argument
3954 AST_MATCHER_P_OVERLOAD(NestedNameSpecifier, hasPrefix,
3955 internal::Matcher<NestedNameSpecifier>, InnerMatcher,
3957 NestedNameSpecifier *NextNode = Node.getPrefix();
[all …]
HDASTMatchersInternal.h734 std::is_same<T, NestedNameSpecifier>::value ||
804 std::is_base_of<NestedNameSpecifier, T>::value || in matchesChildOf()
820 std::is_base_of<NestedNameSpecifier, T>::value || in matchesDescendantOf()
898 typedef TypeList<Decl, Stmt, NestedNameSpecifier, NestedNameSpecifierLoc,
912 typedef TypeList<Decl, Stmt, NestedNameSpecifier, NestedNameSpecifierLoc,
HDASTMatchFinder.h206 NestedNameSpecifier; member
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGCXX.cpp281 NestedNameSpecifier *Qual, in BuildAppleKextVirtualCall()
283 assert((Qual->getKind() == NestedNameSpecifier::TypeSpec) && in BuildAppleKextVirtualCall()
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTReader.cpp5253 NestedNameSpecifier *NNS = ReadNestedNameSpecifier(*Loc.F, Record, Idx); in readTypeRecord()
5337 NestedNameSpecifier *NNS = ReadNestedNameSpecifier(*Loc.F, Record, Idx); in readTypeRecord()
5348 NestedNameSpecifier *NNS = ReadNestedNameSpecifier(*Loc.F, Record, Idx); in readTypeRecord()
7581 NestedNameSpecifier *NNS = ReadNestedNameSpecifier(F, Record, Idx); in ReadTemplateName()
7588 NestedNameSpecifier *NNS = ReadNestedNameSpecifier(F, Record, Idx); in ReadTemplateName()
7808 NestedNameSpecifier *
7812 NestedNameSpecifier *NNS = nullptr, *Prev = nullptr; in ReadNestedNameSpecifier()
7814 NestedNameSpecifier::SpecifierKind Kind in ReadNestedNameSpecifier()
7815 = (NestedNameSpecifier::SpecifierKind)Record[Idx++]; in ReadNestedNameSpecifier()
7817 case NestedNameSpecifier::Identifier: { in ReadNestedNameSpecifier()
[all …]

123