Home | History | Annotate | Download | only in Sema

Lines Matching refs:NNS

81   NestedNameSpecifier *NNS = SS.getScopeRep();
82 if (NNS->isDependent()) {
85 if (CXXRecordDecl *Record = getCurrentInstantiationOf(NNS))
89 const Type *NNSType = NNS->getAsType();
132 switch (NNS->getKind()) {
137 return NNS->getAsNamespace();
140 return NNS->getAsNamespaceAlias()->getNamespace();
144 const TagType *Tag = NNS->getAsType()->getAs<TagType>();
167 /// \param NNS a dependent nested name specifier.
168 CXXRecordDecl *Sema::getCurrentInstantiationOf(NestedNameSpecifier *NNS) {
170 assert(NNS->isDependent() && "Only dependent nested-name-specifier allowed");
172 if (!NNS->getAsType())
175 QualType T = QualType(NNS->getAsType(), 0);
283 NamedDecl *Sema::FindFirstQualifierInScope(Scope *S, NestedNameSpecifier *NNS) {
284 if (!S || !NNS)
287 while (NNS->getPrefix())
288 NNS = NNS->getPrefix();
290 if (NNS->getKind() != NestedNameSpecifier::Identifier)
293 LookupResult Found(*this, NNS->getAsIdentifier(), SourceLocation(),
834 NestedNameSpecifier *NNS;
847 Annotation->NNS = SS.getScopeRep();
862 SS.Adopt(NestedNameSpecifierLoc(Annotation->NNS, Annotation + 1));