Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/tools/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.cpp33 static NestedNameSpecifier *createNestedNameSpecifier(
63 NestedNameSpecifier *NNS = nullptr; in getFullyQualifiedTemplateName()
218 case NestedNameSpecifier::Global: in getFullyQualifiedNestedNameSpecifier()
221 case NestedNameSpecifier::Namespace: in getFullyQualifiedNestedNameSpecifier()
224 case NestedNameSpecifier::NamespaceAlias: in getFullyQualifiedNestedNameSpecifier()
233 case NestedNameSpecifier::Identifier: in getFullyQualifiedNestedNameSpecifier()
239 case NestedNameSpecifier::Super: in getFullyQualifiedNestedNameSpecifier()
240 case NestedNameSpecifier::TypeSpec: in getFullyQualifiedNestedNameSpecifier()
352 return NestedNameSpecifier::Create( in createNestedNameSpecifier()
362 return NestedNameSpecifier::Create( in createNestedNameSpecifier()
[all …]
H A DODRHash.cpp105 void ODRHash::AddNestedNameSpecifier(const NestedNameSpecifier *NNS) { in AddNestedNameSpecifier()
115 case NestedNameSpecifier::Identifier: in AddNestedNameSpecifier()
118 case NestedNameSpecifier::Namespace: in AddNestedNameSpecifier()
121 case NestedNameSpecifier::NamespaceAlias: in AddNestedNameSpecifier()
124 case NestedNameSpecifier::TypeSpec: in AddNestedNameSpecifier()
125 case NestedNameSpecifier::TypeSpecWithTemplate: in AddNestedNameSpecifier()
128 case NestedNameSpecifier::Global: in AddNestedNameSpecifier()
129 case NestedNameSpecifier::Super: in AddNestedNameSpecifier()
681 void AddNestedNameSpecifier(const NestedNameSpecifier *NNS) { in AddNestedNameSpecifier()
H A DASTTypeTraits.cpp115 else if (const NestedNameSpecifier *NNS = get<NestedNameSpecifier>()) in print()
H A DItaniumMangle.cpp1133 case NestedNameSpecifier::Global: in mangleUnresolvedPrefix()
1143 case NestedNameSpecifier::Super: in mangleUnresolvedPrefix()
1146 case NestedNameSpecifier::Namespace: in mangleUnresolvedPrefix()
1154 case NestedNameSpecifier::NamespaceAlias: in mangleUnresolvedPrefix()
1163 case NestedNameSpecifier::TypeSpec: in mangleUnresolvedPrefix()
1186 case NestedNameSpecifier::Identifier: in mangleUnresolvedPrefix()
1728 case NestedNameSpecifier::Global: in manglePrefix()
1732 case NestedNameSpecifier::Super: in manglePrefix()
1735 case NestedNameSpecifier::Namespace: in manglePrefix()
1743 case NestedNameSpecifier::TypeSpec: in manglePrefix()
[all …]
H A DASTStructuralEquivalence.cpp126 NestedNameSpecifier *NNS1, in IsStructurallyEquivalent()
127 NestedNameSpecifier *NNS2) { in IsStructurallyEquivalent()
131 NestedNameSpecifier *Prefix1 = NNS1->getPrefix(), in IsStructurallyEquivalent()
141 case NestedNameSpecifier::Identifier: in IsStructurallyEquivalent()
144 case NestedNameSpecifier::Namespace: in IsStructurallyEquivalent()
147 case NestedNameSpecifier::NamespaceAlias: in IsStructurallyEquivalent()
150 case NestedNameSpecifier::TypeSpec: in IsStructurallyEquivalent()
151 case NestedNameSpecifier::TypeSpecWithTemplate: in IsStructurallyEquivalent()
154 case NestedNameSpecifier::Global: in IsStructurallyEquivalent()
156 case NestedNameSpecifier::Super: in IsStructurallyEquivalent()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DNestedNameSpecifier.h49 class NestedNameSpecifier : public llvm::FoldingSetNode {
105 NestedNameSpecifier() : Prefix(nullptr, StoredIdentifier) {} in NestedNameSpecifier() function
109 NestedNameSpecifier(const NestedNameSpecifier &Other) = default;
117 NestedNameSpecifier &operator=(const NestedNameSpecifier &) = delete;
124 static NestedNameSpecifier *Create(const ASTContext &Context,
129 static NestedNameSpecifier *Create(const ASTContext &Context,
134 static NestedNameSpecifier *Create(const ASTContext &Context,
139 static NestedNameSpecifier *Create(const ASTContext &Context,
238 NestedNameSpecifier *Qualifier = nullptr;
268 NestedNameSpecifier *getNestedNameSpecifier() const { in getNestedNameSpecifier()
[all …]
H A DTemplateName.h32 class NestedNameSpecifier; variable
377 llvm::PointerIntPair<NestedNameSpecifier *, 1> Qualifier;
383 QualifiedTemplateName(NestedNameSpecifier *NNS, bool TemplateKeyword, in QualifiedTemplateName()
407 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, in Profile()
432 llvm::PointerIntPair<NestedNameSpecifier *, 1, bool> Qualifier;
455 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
460 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
466 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
471 DependentTemplateName(NestedNameSpecifier *Qualifier, in DependentTemplateName()
508 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, in Profile()
[all …]
H A DASTImporter.h263 llvm::Expected<NestedNameSpecifier *>
264 Import_New(NestedNameSpecifier *FromNNS);
266 NestedNameSpecifier *Import(NestedNameSpecifier *FromNNS);
H A DODRHash.h31 class NestedNameSpecifier; variable
84 void AddNestedNameSpecifier(const NestedNameSpecifier *NNS);
H A DASTContext.h172 friend class NestedNameSpecifier;
235 mutable llvm::FoldingSet<NestedNameSpecifier> NestedNameSpecifiers;
236 mutable NestedNameSpecifier *GlobalNestedNameSpecifier = nullptr;
1456 NestedNameSpecifier *NNS, QualType NamedType,
1459 NestedNameSpecifier *NNS,
1468 ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS,
1989 TemplateName getQualifiedTemplateName(NestedNameSpecifier *NNS,
1993 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
1995 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
2369 NestedNameSpecifier *
[all …]
H A DRecursiveASTVisitor.h739 NestedNameSpecifier *NNS) {
747 case NestedNameSpecifier::Identifier:
748 case NestedNameSpecifier::Namespace:
750 case NestedNameSpecifier::Global:
751 case NestedNameSpecifier::Super:
754 case NestedNameSpecifier::TypeSpec:
772 case NestedNameSpecifier::Identifier:
773 case NestedNameSpecifier::Namespace:
775 case NestedNameSpecifier::Global:
776 case NestedNameSpecifier::Super:
[all …]
H A DASTTypeTraits.h180 KIND_TO_KIND_ID(NestedNameSpecifier)
465 NestedNameSpecifier, void> : public PtrConverter<NestedNameSpecifier> {};
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DTypoCorrection.h39 class NestedNameSpecifier; variable
61 NestedNameSpecifier *NNS = nullptr, unsigned CharDistance = 0,
69 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS = nullptr,
77 TypoCorrection(DeclarationName Name, NestedNameSpecifier *NNS = nullptr,
92 NestedNameSpecifier *getCorrectionSpecifier() const { in getCorrectionSpecifier()
96 void setCorrectionSpecifier(NestedNameSpecifier *NNS) { in setCorrectionSpecifier()
268 NestedNameSpecifier *CorrectionNameSpec = nullptr;
287 NestedNameSpecifier *TypoNNS = nullptr)
317 void setTypoNNS(NestedNameSpecifier *NNS) { TypoNNS = NNS; } in setTypoNNS()
343 NestedNameSpecifier *TypoNNS;
H A DSemaInternal.h250 NestedNameSpecifier* NameSpecifier;
270 NestedNameSpecifier *&NNS);
317 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
H A DCodeCompleteConsumer.h47 class NestedNameSpecifier; variable
849 NestedNameSpecifier *Qualifier = nullptr;
864 NestedNameSpecifier *Qualifier = nullptr,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp142 case NestedNameSpecifier::Identifier: in computeDeclContext()
145 case NestedNameSpecifier::Namespace: in computeDeclContext()
151 case NestedNameSpecifier::TypeSpec: in computeDeclContext()
158 case NestedNameSpecifier::Global: in computeDeclContext()
161 case NestedNameSpecifier::Super: in computeDeclContext()
978 NestedNameSpecifier *NNS;
1034 case NestedNameSpecifier::Global: in ShouldEnterDeclaratorScope()
1035 case NestedNameSpecifier::Namespace: in ShouldEnterDeclaratorScope()
1041 case NestedNameSpecifier::Identifier: in ShouldEnterDeclaratorScope()
1042 case NestedNameSpecifier::TypeSpec: in ShouldEnterDeclaratorScope()
[all …]
H A DSemaLookup.cpp2268 NestedNameSpecifier *NNS = SS->getScopeRep(); in LookupParsedName()
3902 NestedNameSpecifier *NNS, in getNestedNameSpecifierIdentifiers()
3912 case NestedNameSpecifier::Identifier: in getNestedNameSpecifierIdentifiers()
3916 case NestedNameSpecifier::Namespace: in getNestedNameSpecifierIdentifiers()
3922 case NestedNameSpecifier::NamespaceAlias: in getNestedNameSpecifierIdentifiers()
3927 case NestedNameSpecifier::TypeSpec: in getNestedNameSpecifierIdentifiers()
3931 case NestedNameSpecifier::Global: in getNestedNameSpecifierIdentifiers()
3932 case NestedNameSpecifier::Super: in getNestedNameSpecifierIdentifiers()
4049 if (NestedNameSpecifier *NNS = in addNamespaces()
4230 if (NestedNameSpecifier *NNS = in NamespaceSpecifierSet()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp157 const NestedNameSpecifier *NNS = DNT->getQualifier(); in VisitDependentNameTypeLoc()
229 case NestedNameSpecifier::Identifier: in indexNestedNameSpecifierLoc()
230 case NestedNameSpecifier::Global: in indexNestedNameSpecifierLoc()
231 case NestedNameSpecifier::Super: in indexNestedNameSpecifierLoc()
234 case NestedNameSpecifier::Namespace: in indexNestedNameSpecifierLoc()
238 case NestedNameSpecifier::NamespaceAlias: in indexNestedNameSpecifierLoc()
243 case NestedNameSpecifier::TypeSpec: in indexNestedNameSpecifierLoc()
244 case NestedNameSpecifier::TypeSpecWithTemplate: in indexNestedNameSpecifierLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp119 else if (const NestedNameSpecifier *NNS = in findMatch()
120 DynNode.get<NestedNameSpecifier>()) in findMatch()
192 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) { in TraverseNestedNameSpecifier()
244 bool baseTraverse(const NestedNameSpecifier &NNS) { in baseTraverse()
246 const_cast<NestedNameSpecifier*>(&NNS)); in baseTraverse()
389 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS);
487 } else if (auto *N = Node.get<NestedNameSpecifier>()) { in match()
610 void matchDispatch(const NestedNameSpecifier *Node) { in matchDispatch()
611 matchWithoutFilter(*Node, Matchers->NestedNameSpecifier); in matchDispatch()
973 Matchers.NestedNameSpecifier.emplace_back(NodeMatch, Action); in addMatcher()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Core/
H A DLookup.h24 class NestedNameSpecifier; variable
40 std::string replaceNestedName(const NestedNameSpecifier *Use,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Core/
H A DLookup.cpp109 static bool isFullyQualified(const NestedNameSpecifier *NNS) { in isFullyQualified()
111 if (NNS->getKind() == NestedNameSpecifier::Global) in isFullyQualified()
149 std::string tooling::replaceNestedName(const NestedNameSpecifier *Use, in replaceNestedName()
/freebsd-12.1/contrib/llvm/tools/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-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCXX.cpp288 NestedNameSpecifier *Qual, in BuildAppleKextVirtualCall()
290 assert((Qual->getKind() == NestedNameSpecifier::TypeSpec) && in BuildAppleKextVirtualCall()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h149 using NestedNameSpecifierMatcher = internal::Matcher<NestedNameSpecifier>;
5674 internal::Matcher<NestedNameSpecifier>, InnerMatcher) { in AST_MATCHER_P() argument
5675 if (const NestedNameSpecifier *Qualifier = Node.getQualifier()) in AST_MATCHER_P()
5804 extern const internal::VariadicAllOfMatcher<NestedNameSpecifier>
5815 internal::Matcher<NestedNameSpecifier>, InnerMatcher, 1) {
5817 new internal::LocMatcher<NestedNameSpecifierLoc, NestedNameSpecifier>(
5833 AST_MATCHER_P(NestedNameSpecifier, specifiesType, in AST_MATCHER_P() argument
5866 AST_MATCHER_P_OVERLOAD(NestedNameSpecifier, hasPrefix,
5867 internal::Matcher<NestedNameSpecifier>, InnerMatcher,
5869 const NestedNameSpecifier *NextNode = Node.getPrefix();
[all …]

123