Lines Matching refs:NNS
3465 NestedNameSpecifier *NNS, in getElaboratedType() argument
3468 ElaboratedType::Profile(ID, Keyword, NNS, NamedType); in getElaboratedType()
3483 T = new (*this, TypeAlignment) ElaboratedType(Keyword, NNS, NamedType, Canon); in getElaboratedType()
3514 NestedNameSpecifier *NNS, in getDependentNameType() argument
3518 NestedNameSpecifier *CanonNNS = getCanonicalNestedNameSpecifier(NNS); in getDependentNameType()
3523 if (CanonNNS != NNS || CanonKeyword != Keyword) in getDependentNameType()
3528 DependentNameType::Profile(ID, Keyword, NNS, Name); in getDependentNameType()
3536 T = new (*this, TypeAlignment) DependentNameType(Keyword, NNS, Name, Canon); in getDependentNameType()
3545 NestedNameSpecifier *NNS, in getDependentTemplateSpecializationType() argument
3552 return getDependentTemplateSpecializationType(Keyword, NNS, Name, in getDependentTemplateSpecializationType()
3560 NestedNameSpecifier *NNS, in getDependentTemplateSpecializationType() argument
3564 assert((!NNS || NNS->isDependent()) && in getDependentTemplateSpecializationType()
3568 DependentTemplateSpecializationType::Profile(ID, *this, Keyword, NNS, in getDependentTemplateSpecializationType()
3577 NestedNameSpecifier *CanonNNS = getCanonicalNestedNameSpecifier(NNS); in getDependentTemplateSpecializationType()
3591 if (AnyNonCanonArgs || CanonNNS != NNS || CanonKeyword != Keyword) { in getDependentTemplateSpecializationType()
3603 T = new (Mem) DependentTemplateSpecializationType(Keyword, NNS, in getDependentTemplateSpecializationType()
4384 ASTContext::getCanonicalNestedNameSpecifier(NestedNameSpecifier *NNS) const { in getCanonicalNestedNameSpecifier()
4385 if (!NNS) in getCanonicalNestedNameSpecifier()
4388 switch (NNS->getKind()) { in getCanonicalNestedNameSpecifier()
4392 getCanonicalNestedNameSpecifier(NNS->getPrefix()), in getCanonicalNestedNameSpecifier()
4393 NNS->getAsIdentifier()); in getCanonicalNestedNameSpecifier()
4399 NNS->getAsNamespace()->getOriginalNamespace()); in getCanonicalNestedNameSpecifier()
4405 NNS->getAsNamespaceAlias()->getNamespace() in getCanonicalNestedNameSpecifier()
4410 QualType T = getCanonicalType(QualType(NNS->getAsType(), 0)); in getCanonicalNestedNameSpecifier()
4433 return NNS; in getCanonicalNestedNameSpecifier()
6459 ASTContext::getQualifiedTemplateName(NestedNameSpecifier *NNS, in getQualifiedTemplateName() argument
6462 assert(NNS && "Missing nested-name-specifier in qualified template name"); in getQualifiedTemplateName()
6466 QualifiedTemplateName::Profile(ID, NNS, TemplateKeyword, Template); in getQualifiedTemplateName()
6473 QualifiedTemplateName(NNS, TemplateKeyword, Template); in getQualifiedTemplateName()
6483 ASTContext::getDependentTemplateName(NestedNameSpecifier *NNS, in getDependentTemplateName() argument
6485 assert((!NNS || NNS->isDependent()) && in getDependentTemplateName()
6489 DependentTemplateName::Profile(ID, NNS, Name); in getDependentTemplateName()
6498 NestedNameSpecifier *CanonNNS = getCanonicalNestedNameSpecifier(NNS); in getDependentTemplateName()
6499 if (CanonNNS == NNS) { in getDependentTemplateName()
6501 DependentTemplateName(NNS, Name); in getDependentTemplateName()
6505 DependentTemplateName(NNS, Name, Canon); in getDependentTemplateName()
6519 ASTContext::getDependentTemplateName(NestedNameSpecifier *NNS, in getDependentTemplateName() argument
6521 assert((!NNS || NNS->isDependent()) && in getDependentTemplateName()
6525 DependentTemplateName::Profile(ID, NNS, Operator); in getDependentTemplateName()
6534 NestedNameSpecifier *CanonNNS = getCanonicalNestedNameSpecifier(NNS); in getDependentTemplateName()
6535 if (CanonNNS == NNS) { in getDependentTemplateName()
6537 DependentTemplateName(NNS, Operator); in getDependentTemplateName()
6541 DependentTemplateName(NNS, Operator, Canon); in getDependentTemplateName()