Home | History | Annotate | Download | only in Serialization

Lines Matching refs:NNS

3989 void ASTWriter::AddNestedNameSpecifier(NestedNameSpecifier *NNS,
3995 // Push each of the NNS's onto a stack for serialization in reverse order.
3996 while (NNS) {
3997 NestedNames.push_back(NNS);
3998 NNS = NNS->getPrefix();
4003 NNS = NestedNames.pop_back_val();
4004 NestedNameSpecifier::SpecifierKind Kind = NNS->getKind();
4008 AddIdentifierRef(NNS->getAsIdentifier(), Record);
4012 AddDeclRef(NNS->getAsNamespace(), Record);
4016 AddDeclRef(NNS->getAsNamespaceAlias(), Record);
4021 AddTypeRef(QualType(NNS->getAsType(), 0), Record);
4032 void ASTWriter::AddNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
4040 while (NNS) {
4041 NestedNames.push_back(NNS);
4042 NNS = NNS.getPrefix();
4047 NNS = NestedNames.pop_back_val();
4049 = NNS.getNestedNameSpecifier()->getKind();
4053 AddIdentifierRef(NNS.getNestedNameSpecifier()->getAsIdentifier(), Record);
4054 AddSourceRange(NNS.getLocalSourceRange(), Record);
4058 AddDeclRef(NNS.getNestedNameSpecifier()->getAsNamespace(), Record);
4059 AddSourceRange(NNS.getLocalSourceRange(), Record);
4063 AddDeclRef(NNS.getNestedNameSpecifier()->getAsNamespaceAlias(), Record);
4064 AddSourceRange(NNS.getLocalSourceRange(), Record);
4070 AddTypeLoc(NNS.getTypeLoc(), Record);
4071 AddSourceLocation(NNS.getLocalSourceRange().getEnd(), Record);
4075 AddSourceLocation(NNS.getLocalSourceRange().getEnd(), Record);