Lines Matching defs:NNS
4665 void ASTWriter::AddNestedNameSpecifier(NestedNameSpecifier *NNS,
4671 // Push each of the NNS's onto a stack for serialization in reverse order.
4672 while (NNS) {
4673 NestedNames.push_back(NNS);
4674 NNS = NNS->getPrefix();
4679 NNS = NestedNames.pop_back_val();
4680 NestedNameSpecifier::SpecifierKind Kind = NNS->getKind();
4684 AddIdentifierRef(NNS->getAsIdentifier(), Record);
4688 AddDeclRef(NNS->getAsNamespace(), Record);
4692 AddDeclRef(NNS->getAsNamespaceAlias(), Record);
4697 AddTypeRef(QualType(NNS->getAsType(), 0), Record);
4708 void ASTWriter::AddNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
4716 while (NNS) {
4717 NestedNames.push_back(NNS);
4718 NNS = NNS.getPrefix();
4723 NNS = NestedNames.pop_back_val();
4725 = NNS.getNestedNameSpecifier()->getKind();
4729 AddIdentifierRef(NNS.getNestedNameSpecifier()->getAsIdentifier(), Record);
4730 AddSourceRange(NNS.getLocalSourceRange(), Record);
4734 AddDeclRef(NNS.getNestedNameSpecifier()->getAsNamespace(), Record);
4735 AddSourceRange(NNS.getLocalSourceRange(), Record);
4739 AddDeclRef(NNS.getNestedNameSpecifier()->getAsNamespaceAlias(), Record);
4740 AddSourceRange(NNS.getLocalSourceRange(), Record);
4746 AddTypeLoc(NNS.getTypeLoc(), Record);
4747 AddSourceLocation(NNS.getLocalSourceRange().getEnd(), Record);
4751 AddSourceLocation(NNS.getLocalSourceRange().getEnd(), Record);