Lines Matching refs:NTTP
708 if (const auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) { in Profile() local
710 ID.AddBoolean(NTTP->isParameterPack()); in Profile()
711 ID.AddPointer(C.getUnconstrainedType(C.getCanonicalType(NTTP->getType())) in Profile()
713 if (NTTP->isExpandedParameterPack()) { in Profile()
715 ID.AddInteger(NTTP->getNumExpansionTypes()); in Profile()
716 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) { in Profile()
717 QualType T = NTTP->getExpansionType(I); in Profile()
761 } else if (const auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) { in getCanonicalTemplateTemplateParmDecl() local
762 QualType T = getUnconstrainedType(getCanonicalType(NTTP->getType())); in getCanonicalTemplateTemplateParmDecl()
765 if (NTTP->isExpandedParameterPack()) { in getCanonicalTemplateTemplateParmDecl()
768 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) { in getCanonicalTemplateTemplateParmDecl()
769 ExpandedTypes.push_back(getCanonicalType(NTTP->getExpansionType(I))); in getCanonicalTemplateTemplateParmDecl()
777 NTTP->getDepth(), in getCanonicalTemplateTemplateParmDecl()
778 NTTP->getPosition(), nullptr, in getCanonicalTemplateTemplateParmDecl()
787 NTTP->getDepth(), in getCanonicalTemplateTemplateParmDecl()
788 NTTP->getPosition(), nullptr, in getCanonicalTemplateTemplateParmDecl()
790 NTTP->isParameterPack(), in getCanonicalTemplateTemplateParmDecl()
5175 } else if (auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(Param)) { in getInjectedTemplateArg() local
5177 NTTP->getType().getNonPackExpansionType().getNonLValueExprType(*this); in getInjectedTemplateArg()
5185 *this, NTTP, /*RefersToEnclosingVariableOrCapture*/ false, T, in getInjectedTemplateArg()
5186 Expr::getValueKindForType(NTTP->getType()), NTTP->getLocation()); in getInjectedTemplateArg()
5188 if (NTTP->isParameterPack()) in getInjectedTemplateArg()
5190 PackExpansionExpr(DependentTy, E, NTTP->getLocation(), std::nullopt); in getInjectedTemplateArg()