Searched refs:NNSLoc (Results 1 – 5 of 5) sorted by relevance
419 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNSLoc) { in TraverseNestedNameSpecifierLoc() argument420 if (NNSLoc.getNestedNameSpecifier()) { in TraverseNestedNameSpecifierLoc()421 if (const NamespaceDecl* NS = NNSLoc.getNestedNameSpecifier()->getAsNamespace()) { in TraverseNestedNameSpecifierLoc()423 Replace = Replacement(*SM, &NNSLoc, "", Context->getLangOpts()); in TraverseNestedNameSpecifierLoc()428 NNSLoc); in TraverseNestedNameSpecifierLoc()
122 else if (const NestedNameSpecifierLoc *NNSLoc = in findMatch() local124 traverse(*NNSLoc); in findMatch()
5024 NestedNameSpecifierLoc NNSLoc = SS.getWithLocInContext(Context); in VisitMemberPointerTypeLoc() local5031 switch (NNSLoc.getNestedNameSpecifier()->getKind()) { in VisitMemberPointerTypeLoc()5037 DNTLoc.setQualifierLoc(NNSLoc.getPrefix()); in VisitMemberPointerTypeLoc()5038 DNTLoc.setNameLoc(NNSLoc.getLocalBeginLoc()); in VisitMemberPointerTypeLoc()5047 ETLoc.setQualifierLoc(NNSLoc.getPrefix()); in VisitMemberPointerTypeLoc()5049 NamedTL.initializeFullCopy(NNSLoc.getTypeLoc()); in VisitMemberPointerTypeLoc()5051 ClsTL.initializeFullCopy(NNSLoc.getTypeLoc()); in VisitMemberPointerTypeLoc()
1612 NestedNameSpecifierLoc NNSLoc(SS.getScopeRep(), SS.location_data()); in getRangeOfTypeInNestedNameSpecifier() local1613 while (NestedNameSpecifier *NNS = NNSLoc.getNestedNameSpecifier()) { in getRangeOfTypeInNestedNameSpecifier()1616 return NNSLoc.getTypeLoc().getSourceRange(); in getRangeOfTypeInNestedNameSpecifier()1620 NNSLoc = NNSLoc.getPrefix(); in getRangeOfTypeInNestedNameSpecifier()
1871 TEST(NNSLoc, DescendantsOfNestedNameSpecifierLocs) { in TEST() argument1898 TEST(NNSLoc, NestedNameSpecifierLocsAsDescendants) { in TEST() argument