Searched refs:NNS (Results 1 - 25 of 58) sorted by relevance

123

/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DAbstractBasicWriter.h228 void writeNestedNameSpecifier(NestedNameSpecifier *NNS) { argument
233 // Push each of the NNS's onto a stack for serialization in reverse order.
234 while (NNS) {
235 nestedNames.push_back(NNS);
236 NNS = NNS->getPrefix();
241 NNS = nestedNames.pop_back_val();
242 NestedNameSpecifier::SpecifierKind kind = NNS->getKind();
246 asImpl().writeIdentifier(NNS->getAsIdentifier());
250 asImpl().writeNamespaceDeclRef(NNS
[all...]
H A DASTConcept.h127 ConceptReference(NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc, argument
131 NestedNameSpec(NNS), TemplateKWLoc(TemplateKWLoc),
175 TypeConstraint(NestedNameSpecifierLoc NNS, argument
180 ConceptReference(NNS, /*TemplateKWLoc=*/SourceLocation(), ConceptNameInfo,
H A DTemplateName.h407 QualifiedTemplateName(NestedNameSpecifier *NNS, bool TemplateKeyword, argument
409 : Qualifier(NNS, TemplateKeyword? 1 : 0), Template(Template) {}
431 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, argument
433 ID.AddPointer(NNS);
532 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, argument
534 ID.AddPointer(NNS);
539 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, argument
541 ID.AddPointer(NNS);
H A DODRHash.h83 void AddNestedNameSpecifier(const NestedNameSpecifier *NNS);
H A DNestedNameSpecifier.h523 NestedNameSpecifier *NNS) {
524 DB.AddTaggedVal(reinterpret_cast<intptr_t>(NNS),
522 operator <<(const StreamingDiagnostic &DB, NestedNameSpecifier *NNS) argument
H A DType.h5413 NestedNameSpecifier *NNS;
5422 ElaboratedType(ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS,
5430 (NNS ? toSyntacticDependence(
5431 toTypeDependence(NNS->getDependence()))
5433 NNS(NNS), NamedType(NamedType) {
5439 assert(!(Keyword == ETK_None && NNS == nullptr) &&
5446 NestedNameSpecifier *getQualifier() const { return NNS; }
5465 Profile(ID, getKeyword(), NNS, NamedType, getOwnedTagDecl());
5469 NestedNameSpecifier *NNS, QualTyp
[all...]
H A DExprConcepts.h58 ConceptSpecializationExpr(const ASTContext &C, NestedNameSpecifierLoc NNS,
77 Create(const ASTContext &C, NestedNameSpecifierLoc NNS,
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h114 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) { argument
116 // the current NNS.
117 if (NNS) {
118 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace();
119 if (!visit(ND, NNS.getLocalBeginLoc(), NNS.getLocalEndLoc()))
122 return BaseType::TraverseNestedNameSpecifierLoc(NNS);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp103 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) { argument
104 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC);
201 const NestedNameSpecifier *NNS = DNT->getQualifier(); local
202 const Type *T = NNS->getAsType();
259 void IndexingContext::indexNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS, argument
262 if (!NNS)
265 if (NestedNameSpecifierLoc Prefix = NNS.getPrefix())
270 SourceLocation Loc = NNS.getLocalBeginLoc();
272 switch (NNS.getNestedNameSpecifier()->getKind()) {
279 handleReference(NNS
[all...]
H A DIndexBody.cpp52 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) { argument
53 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC);
194 const NestedNameSpecifier *NNS = E->getQualifier(); local
196 E, NNS->getAsType(), Info,
H A DIndexingContext.h112 void indexNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DTypoCorrection.h60 NestedNameSpecifier *NNS = nullptr, unsigned CharDistance = 0,
62 : CorrectionName(Name), CorrectionNameSpec(NNS),
68 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS = nullptr,
70 : CorrectionName(Name->getDeclName()), CorrectionNameSpec(NNS),
76 TypoCorrection(DeclarationName Name, NestedNameSpecifier *NNS = nullptr,
78 : CorrectionName(Name), CorrectionNameSpec(NNS),
95 void setCorrectionSpecifier(NestedNameSpecifier *NNS) { argument
96 CorrectionNameSpec = NNS;
97 ForceSpecifierReplacement = (NNS != nullptr);
323 void setTypoNNS(NestedNameSpecifier *NNS) { TypoNN argument
[all...]
H A DSemaInternal.h235 NestedNameSpecifier *&NNS);
282 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
H A DLookup.cpp112 static bool isFullyQualified(const NestedNameSpecifier *NNS) { argument
113 while (NNS) {
114 if (NNS->getKind() == NestedNameSpecifier::Global)
116 NNS = NNS->getPrefix();
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp79 NestedNameSpecifier *NNS = SS.getScopeRep();
80 if (NNS->isDependent()) {
83 if (CXXRecordDecl *Record = getCurrentInstantiationOf(NNS))
87 const Type *NNSType = NNS->getAsType();
140 switch (NNS->getKind()) {
145 return NNS->getAsNamespace();
148 return NNS->getAsNamespaceAlias()->getNamespace();
152 const TagType *Tag = NNS->getAsType()->getAs<TagType>();
161 return NNS->getAsRecordDecl();
178 /// \param NNS
179 getCurrentInstantiationOf(NestedNameSpecifier *NNS) argument
358 FindFirstQualifierInScope(Scope *S, NestedNameSpecifier *NNS) argument
989 NestedNameSpecifier *NNS; member in struct:__anon735::NestedNameSpecifierAnnotation
[all...]
H A DSemaLookup.cpp2421 auto *NNS = SS.getScopeRep();
2422 if (NNS && NNS->getKind() == NestedNameSpecifier::Super)
2423 return LookupInSuper(R, NNS->getAsRecordDecl());
2457 NestedNameSpecifier *NNS = SS->getScopeRep();
2458 if (NNS->getKind() == NestedNameSpecifier::Super)
2459 return LookupInSuper(R, NNS->getAsRecordDecl());
4181 NestedNameSpecifier *NNS,
4183 if (NestedNameSpecifier *Prefix = NNS->getPrefix())
4190 switch (NNS
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DNestedNameSpecifier.cpp47 NestedNameSpecifier *NNS local
49 if (!NNS) {
50 NNS =
52 Context.NestedNameSpecifiers.InsertNode(NNS, InsertPos);
55 return NNS;
165 llvm_unreachable("Invalid NNS Kind!");
198 llvm_unreachable("Invalid NNS Kind!");
231 llvm_unreachable("Invalid NNS Kind!");
448 llvm_unreachable("Invalid NNS Kind!");
638 for (NestedNameSpecifier *NNS
641 NestedNameSpecifier *NNS = Stack.pop_back_val(); local
[all...]
H A DQualTypeNames.cpp60 NestedNameSpecifier *NNS = nullptr; local
69 NNS = QTName->getQualifier();
71 Ctx, NNS, WithGlobalNsPrefix);
72 if (QNNS != NNS) {
74 NNS = QNNS;
76 NNS = nullptr;
79 NNS = createNestedNameSpecifierForScopeOf(
82 if (NNS) {
83 TName = Ctx.getQualifiedTemplateName(NNS,
259 llvm_unreachable("bad NNS kin
[all...]
H A DExprConcepts.cpp34 const ASTContext &C, NestedNameSpecifierLoc NNS,
41 ConceptReference(NNS, TemplateKWLoc, ConceptNameInfo, FoundDecl,
73 NestedNameSpecifierLoc NNS,
83 return new (Buffer) ConceptSpecializationExpr(C, NNS, TemplateKWLoc,
33 ConceptSpecializationExpr( const ASTContext &C, NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc, DeclarationNameInfo ConceptNameInfo, NamedDecl *FoundDecl, ConceptDecl *NamedConcept, const ASTTemplateArgumentListInfo *ArgsAsWritten, ArrayRef<TemplateArgument> ConvertedArgs, const ConstraintSatisfaction *Satisfaction) argument
72 Create(const ASTContext &C, NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc, DeclarationNameInfo ConceptNameInfo, NamedDecl *FoundDecl, ConceptDecl *NamedConcept, const ASTTemplateArgumentListInfo *ArgsAsWritten, ArrayRef<TemplateArgument> ConvertedArgs, const ConstraintSatisfaction *Satisfaction) argument
H A DASTTypeTraits.cpp148 else if (const NestedNameSpecifier *NNS = get<NestedNameSpecifier>())
149 NNS->print(OS, PP);
151 if (const NestedNameSpecifier *NNS = NNSL->getNestedNameSpecifier())
152 NNS->print(OS, PP);
H A DODRHash.cpp109 void ODRHash::AddNestedNameSpecifier(const NestedNameSpecifier *NNS) { argument
110 assert(NNS && "Expecting non-null pointer.");
111 const auto *Prefix = NNS->getPrefix();
116 auto Kind = NNS->getKind();
120 AddIdentifierInfo(NNS->getAsIdentifier());
123 AddDecl(NNS->getAsNamespace());
126 AddDecl(NNS->getAsNamespaceAlias());
130 AddType(NNS->getAsType());
691 void AddNestedNameSpecifier(const NestedNameSpecifier *NNS) { argument
692 Hash.AddBoolean(NNS);
[all...]
H A DASTContext.cpp4803 NestedNameSpecifier *NNS,
4807 ElaboratedType::Profile(ID, Keyword, NNS, NamedType, OwnedTagDecl);
4824 T = new (Mem) ElaboratedType(Keyword, NNS, NamedType, Canon, OwnedTagDecl);
4869 NestedNameSpecifier *NNS,
4873 NestedNameSpecifier *CanonNNS = getCanonicalNestedNameSpecifier(NNS);
4874 if (CanonNNS != NNS)
4879 DependentNameType::Profile(ID, Keyword, NNS, Name);
4887 T = new (*this, TypeAlignment) DependentNameType(Keyword, NNS, Name, Canon);
4896 NestedNameSpecifier *NNS,
4903 return getDependentTemplateSpecializationType(Keyword, NNS, Nam
4802 getElaboratedType(ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, QualType NamedType, TagDecl *OwnedTagDecl) const argument
4868 getDependentNameType(ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, const IdentifierInfo *Name, QualType Canon) const argument
4894 getDependentTemplateSpecializationType( ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, const IdentifierInfo *Name, const TemplateArgumentListInfo &Args) const argument
4907 getDependentTemplateSpecializationType( ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, const IdentifierInfo *Name, ArrayRef<TemplateArgument> Args) const argument
8417 getQualifiedTemplateName(NestedNameSpecifier *NNS, bool TemplateKeyword, TemplateDecl *Template) const argument
8441 getDependentTemplateName(NestedNameSpecifier *NNS, const IdentifierInfo *Name) const argument
8477 getDependentTemplateName(NestedNameSpecifier *NNS, OverloadedOperatorKind Operator) const argument
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp121 else if (const NestedNameSpecifier *NNS =
123 traverse(*NNS);
217 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) { argument
219 return (NNS == nullptr) || traverse(*NNS);
221 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) { argument
222 if (!NNS)
225 if (!match(*NNS.getNestedNameSpecifier()))
227 return traverse(NNS);
334 bool baseTraverse(const NestedNameSpecifier &NNS) { argument
338 baseTraverse(NestedNameSpecifierLoc NNS) argument
1259 TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) argument
1264 TraverseNestedNameSpecifierLoc( NestedNameSpecifierLoc NNS) argument
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Serialization/
H A DASTRecordWriter.h239 void AddNestedNameSpecifier(NestedNameSpecifier *NNS) { argument
240 writeNestedNameSpecifier(NNS);
244 void AddNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS);
/netbsd-current/external/apache2/llvm/dist/clang/tools/libclang/
H A DCursorVisitor.h248 bool VisitNestedNameSpecifier(NestedNameSpecifier *NNS, SourceRange Range);
249 bool VisitNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS);

Completed in 204 milliseconds

123