Home
last modified time | relevance | path

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

1234

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DNestedNameSpecifier.cpp40 NestedNameSpecifier *
51 new (Context, alignof(NestedNameSpecifier)) NestedNameSpecifier(Mockup); in FindOrInsert()
58 NestedNameSpecifier *
71 NestedNameSpecifier *
87 NestedNameSpecifier *
103 NestedNameSpecifier *
115 NestedNameSpecifier *
125 NestedNameSpecifier *
129 new (Context, alignof(NestedNameSpecifier)) NestedNameSpecifier(); in GlobalSpecifier()
133 NestedNameSpecifier *
[all …]
H A DQualTypeNames.cpp30 static NestedNameSpecifier *createNestedNameSpecifier(
60 NestedNameSpecifier *NNS = nullptr; in getFullyQualifiedTemplateName()
215 case NestedNameSpecifier::Global: in getFullyQualifiedNestedNameSpecifier()
218 case NestedNameSpecifier::Namespace: in getFullyQualifiedNestedNameSpecifier()
221 case NestedNameSpecifier::NamespaceAlias: in getFullyQualifiedNestedNameSpecifier()
230 case NestedNameSpecifier::Identifier: in getFullyQualifiedNestedNameSpecifier()
236 case NestedNameSpecifier::Super: in getFullyQualifiedNestedNameSpecifier()
237 case NestedNameSpecifier::TypeSpec: in getFullyQualifiedNestedNameSpecifier()
349 return NestedNameSpecifier::Create( in createNestedNameSpecifier()
369 return NestedNameSpecifier::Create( in createNestedNameSpecifier()
[all …]
H A DASTTypeTraits.cpp148 else if (const NestedNameSpecifier *NNS = get<NestedNameSpecifier>()) in print()
151 if (const NestedNameSpecifier *NNS = NNSL->getNestedNameSpecifier()) in print()
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 DASTStructuralEquivalence.cpp106 NestedNameSpecifier *NNS1,
107 NestedNameSpecifier *NNS2);
420 NestedNameSpecifier *NNS1, in IsStructurallyEquivalent()
425 NestedNameSpecifier *Prefix1 = NNS1->getPrefix(), in IsStructurallyEquivalent()
435 case NestedNameSpecifier::Identifier: in IsStructurallyEquivalent()
438 case NestedNameSpecifier::Namespace: in IsStructurallyEquivalent()
441 case NestedNameSpecifier::NamespaceAlias: in IsStructurallyEquivalent()
444 case NestedNameSpecifier::TypeSpec: in IsStructurallyEquivalent()
445 case NestedNameSpecifier::TypeSpecWithTemplate: in IsStructurallyEquivalent()
448 case NestedNameSpecifier::Global: in IsStructurallyEquivalent()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DNestedNameSpecifier.h50 class NestedNameSpecifier : public llvm::FoldingSetNode {
106 NestedNameSpecifier() : Prefix(nullptr, StoredIdentifier) {} in NestedNameSpecifier() function
110 NestedNameSpecifier(const NestedNameSpecifier &Other) = default;
118 NestedNameSpecifier &operator=(const NestedNameSpecifier &) = delete;
125 static NestedNameSpecifier *Create(const ASTContext &Context,
130 static NestedNameSpecifier *Create(const ASTContext &Context,
135 static NestedNameSpecifier *Create(const ASTContext &Context,
140 static NestedNameSpecifier *Create(const ASTContext &Context,
244 NestedNameSpecifier *Qualifier = nullptr;
274 NestedNameSpecifier *getNestedNameSpecifier() const { in getNestedNameSpecifier()
[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()
278 case NestedNameSpecifier::Global: in readNestedNameSpecifier()
[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 DTemplateName.h32 class NestedNameSpecifier; variable
401 llvm::PointerIntPair<NestedNameSpecifier *, 1> Qualifier;
407 QualifiedTemplateName(NestedNameSpecifier *NNS, bool TemplateKeyword, in QualifiedTemplateName()
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()
532 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, in Profile()
[all …]
H A DODRHash.h30 class NestedNameSpecifier; variable
83 void AddNestedNameSpecifier(const NestedNameSpecifier *NNS);
H A DASTContext.h190 friend class NestedNameSpecifier; variable
258 mutable llvm::FoldingSet<NestedNameSpecifier> NestedNameSpecifiers;
259 mutable NestedNameSpecifier *GlobalNestedNameSpecifier = nullptr;
1567 NestedNameSpecifier *NNS, QualType NamedType,
1570 NestedNameSpecifier *NNS,
1579 ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS,
2107 TemplateName getQualifiedTemplateName(NestedNameSpecifier *NNS,
2111 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
2113 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
2546 NestedNameSpecifier *
[all …]
H A DASTTypeTraits.h196 KIND_TO_KIND_ID(NestedNameSpecifier)
491 NestedNameSpecifier, void> : public PtrConverter<NestedNameSpecifier> {};
H A DRecursiveASTVisitor.h684 NestedNameSpecifier *NNS) {
692 case NestedNameSpecifier::Identifier:
693 case NestedNameSpecifier::Namespace:
695 case NestedNameSpecifier::Global:
696 case NestedNameSpecifier::Super:
699 case NestedNameSpecifier::TypeSpec:
717 case NestedNameSpecifier::Identifier:
718 case NestedNameSpecifier::Namespace:
720 case NestedNameSpecifier::Global:
721 case NestedNameSpecifier::Super:
[all …]
/freebsd-13.1/contrib/llvm-project/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);
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp141 case NestedNameSpecifier::Identifier: in computeDeclContext()
144 case NestedNameSpecifier::Namespace: in computeDeclContext()
150 case NestedNameSpecifier::TypeSpec: in computeDeclContext()
157 case NestedNameSpecifier::Global: in computeDeclContext()
160 case NestedNameSpecifier::Super: in computeDeclContext()
1003 NestedNameSpecifier *NNS;
1059 case NestedNameSpecifier::Global: in ShouldEnterDeclaratorScope()
1060 case NestedNameSpecifier::Namespace: in ShouldEnterDeclaratorScope()
1066 case NestedNameSpecifier::Identifier: in ShouldEnterDeclaratorScope()
1067 case NestedNameSpecifier::TypeSpec: in ShouldEnterDeclaratorScope()
[all …]
H A DSemaLookup.cpp2457 NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
4191 NestedNameSpecifier *NNS, in getNestedNameSpecifierIdentifiers()
4201 case NestedNameSpecifier::Identifier: in getNestedNameSpecifierIdentifiers()
4205 case NestedNameSpecifier::Namespace: in getNestedNameSpecifierIdentifiers()
4211 case NestedNameSpecifier::NamespaceAlias: in getNestedNameSpecifierIdentifiers()
4216 case NestedNameSpecifier::TypeSpec: in getNestedNameSpecifierIdentifiers()
4220 case NestedNameSpecifier::Global: in getNestedNameSpecifierIdentifiers()
4221 case NestedNameSpecifier::Super: in getNestedNameSpecifierIdentifiers()
4338 if (NestedNameSpecifier *NNS = in addNamespaces()
4519 if (NestedNameSpecifier *NNS = in NamespaceSpecifierSet()
[all …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DLookup.h24 class NestedNameSpecifier; variable
41 std::string replaceNestedName(const NestedNameSpecifier *Use,
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
1369 Matchers.NestedNameSpecifier.emplace_back(NodeMatch, Action); in addMatcher()
[all …]
/freebsd-13.1/contrib/llvm-project/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;
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DNodes.h121 class NestedNameSpecifier final : public List {
123 NestedNameSpecifier() : List(NodeKind::NestedNameSpecifier) {} in NestedNameSpecifier() function
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp277 NestedNameSpecifier *Qual, in BuildAppleKextVirtualCall()
279 assert((Qual->getKind() == NestedNameSpecifier::TypeSpec) && in BuildAppleKextVirtualCall()
/freebsd-13.1/contrib/llvm-project/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()

1234