Home
last modified time | relevance | path

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

1234

/freebsd-14.2/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()
217 case NestedNameSpecifier::Global: in getFullyQualifiedNestedNameSpecifier()
220 case NestedNameSpecifier::Namespace: in getFullyQualifiedNestedNameSpecifier()
223 case NestedNameSpecifier::NamespaceAlias: in getFullyQualifiedNestedNameSpecifier()
232 case NestedNameSpecifier::Identifier: in getFullyQualifiedNestedNameSpecifier()
238 case NestedNameSpecifier::Super: in getFullyQualifiedNestedNameSpecifier()
239 case NestedNameSpecifier::TypeSpec: in getFullyQualifiedNestedNameSpecifier()
351 return NestedNameSpecifier::Create( in createNestedNameSpecifier()
371 return NestedNameSpecifier::Create( in createNestedNameSpecifier()
[all …]
H A DODRHash.cpp112 void ODRHash::AddNestedNameSpecifier(const NestedNameSpecifier *NNS) { in AddNestedNameSpecifier()
122 case NestedNameSpecifier::Identifier: in AddNestedNameSpecifier()
125 case NestedNameSpecifier::Namespace: in AddNestedNameSpecifier()
128 case NestedNameSpecifier::NamespaceAlias: in AddNestedNameSpecifier()
131 case NestedNameSpecifier::TypeSpec: in AddNestedNameSpecifier()
132 case NestedNameSpecifier::TypeSpecWithTemplate: in AddNestedNameSpecifier()
135 case NestedNameSpecifier::Global: in AddNestedNameSpecifier()
136 case NestedNameSpecifier::Super: in AddNestedNameSpecifier()
854 void AddNestedNameSpecifier(const NestedNameSpecifier *NNS) { in AddNestedNameSpecifier()
H A DASTTypeTraits.cpp194 else if (const NestedNameSpecifier *NNS = get<NestedNameSpecifier>()) in print()
197 if (const NestedNameSpecifier *NNS = NNSL->getNestedNameSpecifier()) in print()
H A DASTStructuralEquivalence.cpp110 NestedNameSpecifier *NNS1,
111 NestedNameSpecifier *NNS2);
533 NestedNameSpecifier *NNS1, in IsStructurallyEquivalent()
538 NestedNameSpecifier *Prefix1 = NNS1->getPrefix(), in IsStructurallyEquivalent()
548 case NestedNameSpecifier::Identifier: in IsStructurallyEquivalent()
551 case NestedNameSpecifier::Namespace: in IsStructurallyEquivalent()
554 case NestedNameSpecifier::NamespaceAlias: in IsStructurallyEquivalent()
557 case NestedNameSpecifier::TypeSpec: in IsStructurallyEquivalent()
558 case NestedNameSpecifier::TypeSpecWithTemplate: in IsStructurallyEquivalent()
561 case NestedNameSpecifier::Global: in IsStructurallyEquivalent()
[all …]
H A DItaniumMangle.cpp1347 case NestedNameSpecifier::Global: in mangleUnresolvedPrefix()
1357 case NestedNameSpecifier::Super: in mangleUnresolvedPrefix()
1360 case NestedNameSpecifier::Namespace: in mangleUnresolvedPrefix()
1368 case NestedNameSpecifier::NamespaceAlias: in mangleUnresolvedPrefix()
1377 case NestedNameSpecifier::TypeSpec: in mangleUnresolvedPrefix()
1400 case NestedNameSpecifier::Identifier: in mangleUnresolvedPrefix()
2147 case NestedNameSpecifier::Global: in manglePrefix()
2151 case NestedNameSpecifier::Super: in manglePrefix()
2154 case NestedNameSpecifier::Namespace: in manglePrefix()
2162 case NestedNameSpecifier::TypeSpec: in manglePrefix()
[all …]
/freebsd-14.2/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.h247 NestedNameSpecifier *readNestedNameSpecifier() { in readNestedNameSpecifier()
251 NestedNameSpecifier *cur = nullptr; in readNestedNameSpecifier()
257 case NestedNameSpecifier::Identifier: in readNestedNameSpecifier()
258 cur = NestedNameSpecifier::Create(ctx, cur, in readNestedNameSpecifier()
262 case NestedNameSpecifier::Namespace: in readNestedNameSpecifier()
263 cur = NestedNameSpecifier::Create(ctx, cur, in readNestedNameSpecifier()
267 case NestedNameSpecifier::NamespaceAlias: in readNestedNameSpecifier()
268 cur = NestedNameSpecifier::Create(ctx, cur, in readNestedNameSpecifier()
272 case NestedNameSpecifier::TypeSpec: in readNestedNameSpecifier()
279 case NestedNameSpecifier::Global: in readNestedNameSpecifier()
[all …]
H A DAbstractBasicWriter.h225 void writeNestedNameSpecifier(NestedNameSpecifier *NNS) { in writeNestedNameSpecifier()
228 SmallVector<NestedNameSpecifier *, 8> nestedNames; in writeNestedNameSpecifier()
239 NestedNameSpecifier::SpecifierKind kind = NNS->getKind(); in writeNestedNameSpecifier()
242 case NestedNameSpecifier::Identifier: in writeNestedNameSpecifier()
246 case NestedNameSpecifier::Namespace: in writeNestedNameSpecifier()
250 case NestedNameSpecifier::NamespaceAlias: in writeNestedNameSpecifier()
254 case NestedNameSpecifier::TypeSpec: in writeNestedNameSpecifier()
255 case NestedNameSpecifier::TypeSpecWithTemplate: in writeNestedNameSpecifier()
259 case NestedNameSpecifier::Global: in writeNestedNameSpecifier()
263 case NestedNameSpecifier::Super: in writeNestedNameSpecifier()
H A DTemplateName.h33 class NestedNameSpecifier; variable
441 llvm::PointerIntPair<NestedNameSpecifier *, 1> Qualifier;
450 QualifiedTemplateName(NestedNameSpecifier *NNS, bool TemplateKeyword, in QualifiedTemplateName()
472 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, in Profile()
497 llvm::PointerIntPair<NestedNameSpecifier *, 1, bool> Qualifier;
520 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
525 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
531 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
536 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
573 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, in Profile()
[all …]
H A DODRHash.h31 class NestedNameSpecifier; variable
96 void AddNestedNameSpecifier(const NestedNameSpecifier *NNS);
H A DASTContext.h80 class NestedNameSpecifier; variable
183 friend class NestedNameSpecifier; variable
261 mutable llvm::FoldingSet<NestedNameSpecifier> NestedNameSpecifiers;
262 mutable NestedNameSpecifier *GlobalNestedNameSpecifier = nullptr;
1648 NestedNameSpecifier *NNS,
1653 ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS,
1656 ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS,
2190 TemplateName getQualifiedTemplateName(NestedNameSpecifier *NNS,
2194 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
2196 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
[all …]
/freebsd-14.2/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;
323 void setTypoNNS(NestedNameSpecifier *NNS) { TypoNNS = NNS; } in setTypoNNS()
349 NestedNameSpecifier *TypoNNS;
355 NestedNameSpecifier *TypoNNS = nullptr)
[all …]
H A DSemaInternal.h215 NestedNameSpecifier* NameSpecifier;
235 NestedNameSpecifier *&NNS);
282 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp160 case NestedNameSpecifier::Identifier: in computeDeclContext()
163 case NestedNameSpecifier::Namespace: in computeDeclContext()
169 case NestedNameSpecifier::TypeSpec: in computeDeclContext()
176 case NestedNameSpecifier::Global: in computeDeclContext()
179 case NestedNameSpecifier::Super: in computeDeclContext()
986 NestedNameSpecifier *NNS;
1042 case NestedNameSpecifier::Global: in ShouldEnterDeclaratorScope()
1043 case NestedNameSpecifier::Namespace: in ShouldEnterDeclaratorScope()
1049 case NestedNameSpecifier::Identifier: in ShouldEnterDeclaratorScope()
1050 case NestedNameSpecifier::TypeSpec: in ShouldEnterDeclaratorScope()
[all …]
H A DSemaLookup.cpp2728 NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
4522 NestedNameSpecifier *NNS, in getNestedNameSpecifierIdentifiers()
4532 case NestedNameSpecifier::Identifier: in getNestedNameSpecifierIdentifiers()
4536 case NestedNameSpecifier::Namespace: in getNestedNameSpecifierIdentifiers()
4542 case NestedNameSpecifier::NamespaceAlias: in getNestedNameSpecifierIdentifiers()
4547 case NestedNameSpecifier::TypeSpec: in getNestedNameSpecifierIdentifiers()
4551 case NestedNameSpecifier::Global: in getNestedNameSpecifierIdentifiers()
4552 case NestedNameSpecifier::Super: in getNestedNameSpecifierIdentifiers()
4686 if (NestedNameSpecifier *NNS = in addNamespaces()
4867 if (NestedNameSpecifier *NNS = in NamespaceSpecifierSet()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp211 const NestedNameSpecifier *NNS = DNT->getQualifier(); in VisitDependentNameTypeLoc()
283 case NestedNameSpecifier::Identifier: in indexNestedNameSpecifierLoc()
284 case NestedNameSpecifier::Global: in indexNestedNameSpecifierLoc()
285 case NestedNameSpecifier::Super: in indexNestedNameSpecifierLoc()
288 case NestedNameSpecifier::Namespace: in indexNestedNameSpecifierLoc()
292 case NestedNameSpecifier::NamespaceAlias: in indexNestedNameSpecifierLoc()
297 case NestedNameSpecifier::TypeSpec: in indexNestedNameSpecifierLoc()
298 case NestedNameSpecifier::TypeSpecWithTemplate: in indexNestedNameSpecifierLoc()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DLookup.h24 class NestedNameSpecifier; variable
41 std::string replaceNestedName(const NestedNameSpecifier *Use,
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp124 else if (const NestedNameSpecifier *NNS = in findMatch()
125 DynNode.get<NestedNameSpecifier>()) in findMatch()
222 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) { in TraverseNestedNameSpecifier()
348 bool baseTraverse(const NestedNameSpecifier &NNS) { in baseTraverse()
350 const_cast<NestedNameSpecifier*>(&NNS)); in baseTraverse()
505 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS);
714 } else if (auto *N = Node.get<NestedNameSpecifier>()) { in match()
1101 void matchDispatch(const NestedNameSpecifier *Node) { in matchDispatch()
1102 matchWithoutFilter(*Node, Matchers->NestedNameSpecifier); in matchDispatch()
1617 Matchers.NestedNameSpecifier.emplace_back(NodeMatch, Action); in addMatcher()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp275 NestedNameSpecifier *Qual, in BuildAppleKextVirtualCall()
277 assert((Qual->getKind() == NestedNameSpecifier::TypeSpec) && in BuildAppleKextVirtualCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp185 DeclarationFragmentsBuilder::getFragmentsForNNS(const NestedNameSpecifier *NNS, in getFragmentsForNNS()
193 case NestedNameSpecifier::Identifier: in getFragmentsForNNS()
198 case NestedNameSpecifier::Namespace: { in getFragmentsForNNS()
209 case NestedNameSpecifier::NamespaceAlias: { in getFragmentsForNNS()
219 case NestedNameSpecifier::Global: in getFragmentsForNNS()
223 case NestedNameSpecifier::Super: in getFragmentsForNNS()
228 case NestedNameSpecifier::TypeSpecWithTemplate: in getFragmentsForNNS()
235 case NestedNameSpecifier::TypeSpec: { in getFragmentsForNNS()
267 if (const NestedNameSpecifier *NNS = ET->getQualifier()) in getFragmentsForType()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DNodes.h116 class NestedNameSpecifier final : public List {
118 NestedNameSpecifier() : List(NodeKind::NestedNameSpecifier) {} in NestedNameSpecifier() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTree.cpp401 case NodeKind::NestedNameSpecifier: in getDelimiterTokenKind()
415 case NodeKind::NestedNameSpecifier: in getTerminationKind()
429 case NodeKind::NestedNameSpecifier: in canBeEmpty()

1234