Lines Matching refs:NNS
2931 NestedNameSpecifier *NNS, in getElaboratedType() argument
2934 ElaboratedType::Profile(ID, Keyword, NNS, NamedType); in getElaboratedType()
2949 T = new (*this) ElaboratedType(Keyword, NNS, NamedType, Canon); in getElaboratedType()
2980 NestedNameSpecifier *NNS, in getDependentNameType() argument
2983 assert(NNS->isDependent() && "nested-name-specifier must be dependent"); in getDependentNameType()
2986 NestedNameSpecifier *CanonNNS = getCanonicalNestedNameSpecifier(NNS); in getDependentNameType()
2991 if (CanonNNS != NNS || CanonKeyword != Keyword) in getDependentNameType()
2996 DependentNameType::Profile(ID, Keyword, NNS, Name); in getDependentNameType()
3004 T = new (*this) DependentNameType(Keyword, NNS, Name, Canon); in getDependentNameType()
3013 NestedNameSpecifier *NNS, in getDependentTemplateSpecializationType() argument
3020 return getDependentTemplateSpecializationType(Keyword, NNS, Name, in getDependentTemplateSpecializationType()
3028 NestedNameSpecifier *NNS, in getDependentTemplateSpecializationType() argument
3032 assert((!NNS || NNS->isDependent()) && in getDependentTemplateSpecializationType()
3036 DependentTemplateSpecializationType::Profile(ID, *this, Keyword, NNS, in getDependentTemplateSpecializationType()
3045 NestedNameSpecifier *CanonNNS = getCanonicalNestedNameSpecifier(NNS); in getDependentTemplateSpecializationType()
3059 if (AnyNonCanonArgs || CanonNNS != NNS || CanonKeyword != Keyword) { in getDependentTemplateSpecializationType()
3071 T = new (Mem) DependentTemplateSpecializationType(Keyword, NNS, in getDependentTemplateSpecializationType()
3727 ASTContext::getCanonicalNestedNameSpecifier(NestedNameSpecifier *NNS) const { in getCanonicalNestedNameSpecifier()
3728 if (!NNS) in getCanonicalNestedNameSpecifier()
3731 switch (NNS->getKind()) { in getCanonicalNestedNameSpecifier()
3735 getCanonicalNestedNameSpecifier(NNS->getPrefix()), in getCanonicalNestedNameSpecifier()
3736 NNS->getAsIdentifier()); in getCanonicalNestedNameSpecifier()
3742 NNS->getAsNamespace()->getOriginalNamespace()); in getCanonicalNestedNameSpecifier()
3748 NNS->getAsNamespaceAlias()->getNamespace() in getCanonicalNestedNameSpecifier()
3753 QualType T = getCanonicalType(QualType(NNS->getAsType(), 0)); in getCanonicalNestedNameSpecifier()
3775 return NNS; in getCanonicalNestedNameSpecifier()
5567 ASTContext::getQualifiedTemplateName(NestedNameSpecifier *NNS, in getQualifiedTemplateName() argument
5570 assert(NNS && "Missing nested-name-specifier in qualified template name"); in getQualifiedTemplateName()
5574 QualifiedTemplateName::Profile(ID, NNS, TemplateKeyword, Template); in getQualifiedTemplateName()
5581 QualifiedTemplateName(NNS, TemplateKeyword, Template); in getQualifiedTemplateName()
5591 ASTContext::getDependentTemplateName(NestedNameSpecifier *NNS, in getDependentTemplateName() argument
5593 assert((!NNS || NNS->isDependent()) && in getDependentTemplateName()
5597 DependentTemplateName::Profile(ID, NNS, Name); in getDependentTemplateName()
5606 NestedNameSpecifier *CanonNNS = getCanonicalNestedNameSpecifier(NNS); in getDependentTemplateName()
5607 if (CanonNNS == NNS) { in getDependentTemplateName()
5609 DependentTemplateName(NNS, Name); in getDependentTemplateName()
5613 DependentTemplateName(NNS, Name, Canon); in getDependentTemplateName()
5627 ASTContext::getDependentTemplateName(NestedNameSpecifier *NNS, in getDependentTemplateName() argument
5629 assert((!NNS || NNS->isDependent()) && in getDependentTemplateName()
5633 DependentTemplateName::Profile(ID, NNS, Operator); in getDependentTemplateName()
5642 NestedNameSpecifier *CanonNNS = getCanonicalNestedNameSpecifier(NNS); in getDependentTemplateName()
5643 if (CanonNNS == NNS) { in getDependentTemplateName()
5645 DependentTemplateName(NNS, Operator); in getDependentTemplateName()
5649 DependentTemplateName(NNS, Operator, Canon); in getDependentTemplateName()