Lines Matching defs:NNS
2668 auto *NNS = SS.getScopeRep();
2669 if (NNS && NNS->getKind() == NestedNameSpecifier::Super)
2670 return LookupInSuper(R, NNS->getAsRecordDecl());
2708 if (NestedNameSpecifier *NNS = SS->getScopeRep();
2709 NNS->getKind() == NestedNameSpecifier::Super)
2710 return LookupInSuper(R, NNS->getAsRecordDecl());
4453 NestedNameSpecifier *NNS,
4455 if (NestedNameSpecifier *Prefix = NNS->getPrefix())
4462 switch (NNS->getKind()) {
4464 II = NNS->getAsIdentifier();
4468 if (NNS->getAsNamespace()->isAnonymousNamespace())
4470 II = NNS->getAsNamespace()->getIdentifier();
4474 II = NNS->getAsNamespaceAlias()->getIdentifier();
4479 II = QualType(NNS->getAsType(), 0).getBaseTypeIdentifier();
4525 NestedNameSpecifier *NNS, bool isKeyword) {
4539 TypoCorrection TC(&SemaRef.Context.Idents.get(Name), ND, NNS, ED);
4617 if (NestedNameSpecifier *NNS =
4619 if (const Type *T = NNS->getAsType())
4798 if (NestedNameSpecifier *NNS =
4801 NNS->print(SpecifierOStream, Context.getPrintingPolicy());
4803 getNestedNameSpecifierIdentifiers(NNS, CurNameSpecifierIdentifiers);
4835 DeclContextList &DeclChain, NestedNameSpecifier *&NNS) {
4839 NNS = NestedNameSpecifier::Create(Context, NNS, ND);
4842 NNS = NestedNameSpecifier::Create(Context, NNS, RD->isTemplateDecl(),
4852 NestedNameSpecifier *NNS = nullptr;
4865 NumSpecifiers = buildNestedNameSpecifier(NamespaceDeclChain, NNS);
4870 NNS = NestedNameSpecifier::GlobalSpecifier(Context);
4872 buildNestedNameSpecifier(FullNamespaceDeclChain, NNS);
4881 getNestedNameSpecifierIdentifiers(NNS, NewNameSpecifierIdentifiers);
4882 NNS->print(SpecifierOStream, Context.getPrintingPolicy());
4888 NNS = NestedNameSpecifier::GlobalSpecifier(Context);
4890 buildNestedNameSpecifier(FullNamespaceDeclChain, NNS);
4898 if (NNS && !CurNameSpecifierIdentifiers.empty()) {
4900 getNestedNameSpecifierIdentifiers(NNS, NewNameSpecifierIdentifiers);
4906 SpecifierInfo SI = {Ctx, NNS, NumSpecifiers};