Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DNestedNameSpecifier.cpp40 NestedNameSpecifier *
41 NestedNameSpecifier::FindOrInsert(const ASTContext &Context, in FindOrInsert()
42 const NestedNameSpecifier &Mockup) { in FindOrInsert()
47 NestedNameSpecifier *NNS in FindOrInsert()
51 new (Context, alignof(NestedNameSpecifier)) NestedNameSpecifier(Mockup); in FindOrInsert()
58 NestedNameSpecifier *
59 NestedNameSpecifier::Create(const ASTContext &Context, in Create()
60 NestedNameSpecifier *Prefix, IdentifierInfo *II) { in Create()
64 NestedNameSpecifier Mockup; in Create()
71 NestedNameSpecifier *
[all …]
H A DQualTypeNames.cpp30 static NestedNameSpecifier *createNestedNameSpecifier(
45 static NestedNameSpecifier *createNestedNameSpecifier(
49 static NestedNameSpecifier *createNestedNameSpecifierForScopeOf(
53 static NestedNameSpecifier *getFullyQualifiedNestedNameSpecifier(
54 const ASTContext &Ctx, NestedNameSpecifier *scope, bool WithGlobalNsPrefix);
60 NestedNameSpecifier *NNS = nullptr; in getFullyQualifiedTemplateName()
70 NestedNameSpecifier *QNNS = getFullyQualifiedNestedNameSpecifier( in getFullyQualifiedTemplateName()
186 static NestedNameSpecifier *createOuterNNS(const ASTContext &Ctx, const Decl *D, in createOuterNNS()
205 return NestedNameSpecifier::GlobalSpecifier(Ctx); in createOuterNNS()
211 static NestedNameSpecifier *getFullyQualifiedNestedNameSpecifier( in getFullyQualifiedNestedNameSpecifier()
[all …]
H A DODRHash.cpp109 void ODRHash::AddNestedNameSpecifier(const NestedNameSpecifier *NNS) { in AddNestedNameSpecifier()
119 case NestedNameSpecifier::Identifier: in AddNestedNameSpecifier()
122 case NestedNameSpecifier::Namespace: in AddNestedNameSpecifier()
125 case NestedNameSpecifier::NamespaceAlias: in AddNestedNameSpecifier()
128 case NestedNameSpecifier::TypeSpec: in AddNestedNameSpecifier()
129 case NestedNameSpecifier::TypeSpecWithTemplate: in AddNestedNameSpecifier()
132 case NestedNameSpecifier::Global: in AddNestedNameSpecifier()
133 case NestedNameSpecifier::Super: in AddNestedNameSpecifier()
691 void AddNestedNameSpecifier(const NestedNameSpecifier *NNS) { in AddNestedNameSpecifier()
H A DASTTypeTraits.cpp148 else if (const NestedNameSpecifier *NNS = get<NestedNameSpecifier>()) in print()
151 if (const NestedNameSpecifier *NNS = NNSL->getNestedNameSpecifier()) in print()
H A DASTStructuralEquivalence.cpp105 NestedNameSpecifier *NNS1,
106 NestedNameSpecifier *NNS2);
419 NestedNameSpecifier *NNS1, in IsStructurallyEquivalent()
420 NestedNameSpecifier *NNS2) { in IsStructurallyEquivalent()
424 NestedNameSpecifier *Prefix1 = NNS1->getPrefix(), in IsStructurallyEquivalent()
434 case NestedNameSpecifier::Identifier: in IsStructurallyEquivalent()
437 case NestedNameSpecifier::Namespace: in IsStructurallyEquivalent()
440 case NestedNameSpecifier::NamespaceAlias: in IsStructurallyEquivalent()
443 case NestedNameSpecifier::TypeSpec: in IsStructurallyEquivalent()
444 case NestedNameSpecifier::TypeSpecWithTemplate: in IsStructurallyEquivalent()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DNestedNameSpecifier.h50 class NestedNameSpecifier : public llvm::FoldingSetNode {
65 llvm::PointerIntPair<NestedNameSpecifier *, 2, StoredSpecifierKind> Prefix;
106 NestedNameSpecifier() : Prefix(nullptr, StoredIdentifier) {} in NestedNameSpecifier() function
110 NestedNameSpecifier(const NestedNameSpecifier &Other) = default;
114 static NestedNameSpecifier *FindOrInsert(const ASTContext &Context,
115 const NestedNameSpecifier &Mockup);
118 NestedNameSpecifier &operator=(const NestedNameSpecifier &) = delete;
125 static NestedNameSpecifier *Create(const ASTContext &Context,
126 NestedNameSpecifier *Prefix,
130 static NestedNameSpecifier *Create(const ASTContext &Context,
[all …]
H A DAbstractBasicReader.h246 NestedNameSpecifier *readNestedNameSpecifier() { in readNestedNameSpecifier()
250 NestedNameSpecifier *cur = nullptr; in readNestedNameSpecifier()
256 case NestedNameSpecifier::Identifier: in readNestedNameSpecifier()
257 cur = NestedNameSpecifier::Create(ctx, cur, in readNestedNameSpecifier()
261 case NestedNameSpecifier::Namespace: in readNestedNameSpecifier()
262 cur = NestedNameSpecifier::Create(ctx, cur, in readNestedNameSpecifier()
266 case NestedNameSpecifier::NamespaceAlias: in readNestedNameSpecifier()
267 cur = NestedNameSpecifier::Create(ctx, cur, in readNestedNameSpecifier()
271 case NestedNameSpecifier::TypeSpec: in readNestedNameSpecifier()
272 case NestedNameSpecifier::TypeSpecWithTemplate: in readNestedNameSpecifier()
[all …]
H A DTemplateName.h32 class NestedNameSpecifier; variable
401 llvm::PointerIntPair<NestedNameSpecifier *, 1> Qualifier;
407 QualifiedTemplateName(NestedNameSpecifier *NNS, bool TemplateKeyword, in QualifiedTemplateName()
413 NestedNameSpecifier *getQualifier() const { return Qualifier.getPointer(); } in getQualifier()
431 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, in Profile()
456 llvm::PointerIntPair<NestedNameSpecifier *, 1, bool> Qualifier;
479 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
484 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
490 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
495 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
[all …]
H A DAbstractBasicWriter.h228 void writeNestedNameSpecifier(NestedNameSpecifier *NNS) { in writeNestedNameSpecifier()
231 SmallVector<NestedNameSpecifier *, 8> nestedNames; in writeNestedNameSpecifier()
242 NestedNameSpecifier::SpecifierKind kind = NNS->getKind(); in writeNestedNameSpecifier()
245 case NestedNameSpecifier::Identifier: in writeNestedNameSpecifier()
249 case NestedNameSpecifier::Namespace: in writeNestedNameSpecifier()
253 case NestedNameSpecifier::NamespaceAlias: in writeNestedNameSpecifier()
257 case NestedNameSpecifier::TypeSpec: in writeNestedNameSpecifier()
258 case NestedNameSpecifier::TypeSpecWithTemplate: in writeNestedNameSpecifier()
262 case NestedNameSpecifier::Global: in writeNestedNameSpecifier()
266 case NestedNameSpecifier::Super: in writeNestedNameSpecifier()
H A DODRHash.h30 class NestedNameSpecifier; variable
83 void AddNestedNameSpecifier(const NestedNameSpecifier *NNS);
H A DASTContext.h189 friend class NestedNameSpecifier; variable
257 mutable llvm::FoldingSet<NestedNameSpecifier> NestedNameSpecifiers;
258 mutable NestedNameSpecifier *GlobalNestedNameSpecifier = nullptr;
1522 NestedNameSpecifier *NNS, QualType NamedType,
1525 NestedNameSpecifier *NNS,
1530 NestedNameSpecifier *NNS,
1534 ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS,
2062 TemplateName getQualifiedTemplateName(NestedNameSpecifier *NNS,
2066 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
2068 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
[all …]
H A DRecursiveASTVisitor.h255 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS);
686 NestedNameSpecifier *NNS) {
694 case NestedNameSpecifier::Identifier:
695 case NestedNameSpecifier::Namespace:
696 case NestedNameSpecifier::NamespaceAlias:
697 case NestedNameSpecifier::Global:
698 case NestedNameSpecifier::Super:
701 case NestedNameSpecifier::TypeSpec:
702 case NestedNameSpecifier::TypeSpecWithTemplate:
719 case NestedNameSpecifier::Identifier:
[all …]
H A DASTTypeTraits.h196 KIND_TO_KIND_ID(NestedNameSpecifier)
491 NestedNameSpecifier, void> : public PtrConverter<NestedNameSpecifier> {};
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DTypoCorrection.h38 class NestedNameSpecifier; variable
60 NestedNameSpecifier *NNS = nullptr, unsigned CharDistance = 0,
68 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS = nullptr,
76 TypoCorrection(DeclarationName Name, NestedNameSpecifier *NNS = nullptr,
91 NestedNameSpecifier *getCorrectionSpecifier() const { in getCorrectionSpecifier()
95 void setCorrectionSpecifier(NestedNameSpecifier *NNS) { in setCorrectionSpecifier()
267 NestedNameSpecifier *CorrectionNameSpec = nullptr;
286 NestedNameSpecifier *TypoNNS = nullptr)
323 void setTypoNNS(NestedNameSpecifier *NNS) { TypoNNS = NNS; } in setTypoNNS()
349 NestedNameSpecifier *TypoNNS;
[all …]
H A DSemaInternal.h215 NestedNameSpecifier* NameSpecifier;
235 NestedNameSpecifier *&NNS);
282 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp79 NestedNameSpecifier *NNS = SS.getScopeRep(); in computeDeclContext()
141 case NestedNameSpecifier::Identifier: in computeDeclContext()
144 case NestedNameSpecifier::Namespace: in computeDeclContext()
147 case NestedNameSpecifier::NamespaceAlias: in computeDeclContext()
150 case NestedNameSpecifier::TypeSpec: in computeDeclContext()
151 case NestedNameSpecifier::TypeSpecWithTemplate: { in computeDeclContext()
157 case NestedNameSpecifier::Global: in computeDeclContext()
160 case NestedNameSpecifier::Super: in computeDeclContext()
179 CXXRecordDecl *Sema::getCurrentInstantiationOf(NestedNameSpecifier *NNS) { in getCurrentInstantiationOf()
358 NamedDecl *Sema::FindFirstQualifierInScope(Scope *S, NestedNameSpecifier *NNS) { in FindFirstQualifierInScope()
[all …]
H A DSemaLookup.cpp2422 if (NNS && NNS->getKind() == NestedNameSpecifier::Super) in LookupQualifiedName()
2457 NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
2458 if (NNS->getKind() == NestedNameSpecifier::Super) in LookupParsedName()
4181 NestedNameSpecifier *NNS, in getNestedNameSpecifierIdentifiers()
4183 if (NestedNameSpecifier *Prefix = NNS->getPrefix()) in getNestedNameSpecifierIdentifiers()
4191 case NestedNameSpecifier::Identifier: in getNestedNameSpecifierIdentifiers()
4195 case NestedNameSpecifier::Namespace: in getNestedNameSpecifierIdentifiers()
4201 case NestedNameSpecifier::NamespaceAlias: in getNestedNameSpecifierIdentifiers()
4205 case NestedNameSpecifier::TypeSpecWithTemplate: in getNestedNameSpecifierIdentifiers()
4206 case NestedNameSpecifier::TypeSpec: in getNestedNameSpecifierIdentifiers()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp201 const NestedNameSpecifier *NNS = DNT->getQualifier(); in VisitDependentNameTypeLoc()
273 case NestedNameSpecifier::Identifier: in indexNestedNameSpecifierLoc()
274 case NestedNameSpecifier::Global: in indexNestedNameSpecifierLoc()
275 case NestedNameSpecifier::Super: in indexNestedNameSpecifierLoc()
278 case NestedNameSpecifier::Namespace: in indexNestedNameSpecifierLoc()
282 case NestedNameSpecifier::NamespaceAlias: in indexNestedNameSpecifierLoc()
287 case NestedNameSpecifier::TypeSpec: in indexNestedNameSpecifierLoc()
288 case NestedNameSpecifier::TypeSpecWithTemplate: in indexNestedNameSpecifierLoc()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
H A DLookup.h24 class NestedNameSpecifier; variable
41 std::string replaceNestedName(const NestedNameSpecifier *Use,
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp121 else if (const NestedNameSpecifier *NNS = in findMatch()
122 DynNode.get<NestedNameSpecifier>()) in findMatch()
217 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) { in TraverseNestedNameSpecifier()
334 bool baseTraverse(const NestedNameSpecifier &NNS) { in baseTraverse()
336 const_cast<NestedNameSpecifier*>(&NNS)); in baseTraverse()
488 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS);
687 } else if (auto *N = Node.get<NestedNameSpecifier>()) { in match()
885 void matchDispatch(const NestedNameSpecifier *Node) { in matchDispatch()
886 matchWithoutFilter(*Node, Matchers->NestedNameSpecifier); in matchDispatch()
1259 bool MatchASTVisitor::TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) { in TraverseNestedNameSpecifier()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
H A DLookup.cpp112 static bool isFullyQualified(const NestedNameSpecifier *NNS) { in isFullyQualified()
114 if (NNS->getKind() == NestedNameSpecifier::Global) in isFullyQualified()
185 std::string tooling::replaceNestedName(const NestedNameSpecifier *Use, in replaceNestedName()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp114 NestedNameSpecifierLoc NestedNameSpecifier = in StartLocationForType() local
116 if (NestedNameSpecifier.getNestedNameSpecifier()) in StartLocationForType()
117 return NestedNameSpecifier.getBeginLoc(); in StartLocationForType()
140 NestedNameSpecifier *GetNestedNameForType(TypeLoc TL) { in GetNestedNameForType()
173 const NestedNameSpecifier *Specifier;
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Syntax/
H A DNodes.h121 class NestedNameSpecifier final : public List {
123 NestedNameSpecifier() : List(NodeKind::NestedNameSpecifier) {} in NestedNameSpecifier() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
H A DTree.cpp430 case NodeKind::NestedNameSpecifier: in getDelimiterTokenKind()
444 case NodeKind::NestedNameSpecifier: in getTerminationKind()
458 case NodeKind::NestedNameSpecifier: in canBeEmpty()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCXX.cpp277 NestedNameSpecifier *Qual, in BuildAppleKextVirtualCall()
279 assert((Qual->getKind() == NestedNameSpecifier::TypeSpec) && in BuildAppleKextVirtualCall()

1234