Lines Matching refs:NNS
3169 NestedNameSpecifier *NNS=NULL, bool isKeyword=false);
3241 NestedNameSpecifier *NNS, in addName() argument
3243 TypoCorrection TC(&SemaRef.Context.Idents.get(Name), ND, NNS, Distance); in addName()
3281 NestedNameSpecifier *NNS, in getNestedNameSpecifierIdentifiers() argument
3283 if (NestedNameSpecifier *Prefix = NNS->getPrefix()) in getNestedNameSpecifierIdentifiers()
3290 switch (NNS->getKind()) { in getNestedNameSpecifierIdentifiers()
3292 II = NNS->getAsIdentifier(); in getNestedNameSpecifierIdentifiers()
3296 if (NNS->getAsNamespace()->isAnonymousNamespace()) in getNestedNameSpecifierIdentifiers()
3298 II = NNS->getAsNamespace()->getIdentifier(); in getNestedNameSpecifierIdentifiers()
3302 II = NNS->getAsNamespaceAlias()->getIdentifier(); in getNestedNameSpecifierIdentifiers()
3307 II = QualType(NNS->getAsType(), 0).getBaseTypeIdentifier(); in getNestedNameSpecifierIdentifiers()
3326 SpecifierInfo(DeclContext *Ctx, NestedNameSpecifier *NNS, unsigned ED) in SpecifierInfo() argument
3327 : DeclCtx(Ctx), NameSpecifier(NNS), EditDistance(ED) {} in SpecifierInfo()
3416 NestedNameSpecifier *NNS = NULL; in AddNamespace() local
3440 NNS = NestedNameSpecifier::GlobalSpecifier(Context); in AddNamespace()
3450 NNS = NestedNameSpecifier::Create(Context, NNS, ND); in AddNamespace()
3459 if (NNS && !CurNameSpecifierIdentifiers.empty()) { in AddNamespace()
3461 getNestedNameSpecifierIdentifiers(NNS, NewNameSpecifierIdentifiers); in AddNamespace()
3469 DistanceMap[NumSpecifiers].push_back(SpecifierInfo(Ctx, NNS, NumSpecifiers)); in AddNamespace()