Lines Matching refs:NTTP
711 if (const auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) { in Profile() local
713 ID.AddBoolean(NTTP->isParameterPack()); in Profile()
714 ID.AddPointer(C.getUnconstrainedType(C.getCanonicalType(NTTP->getType())) in Profile()
716 if (NTTP->isExpandedParameterPack()) { in Profile()
718 ID.AddInteger(NTTP->getNumExpansionTypes()); in Profile()
719 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) { in Profile()
720 QualType T = NTTP->getExpansionType(I); in Profile()
764 } else if (const auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) { in getCanonicalTemplateTemplateParmDecl() local
765 QualType T = getUnconstrainedType(getCanonicalType(NTTP->getType())); in getCanonicalTemplateTemplateParmDecl()
768 if (NTTP->isExpandedParameterPack()) { in getCanonicalTemplateTemplateParmDecl()
771 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) { in getCanonicalTemplateTemplateParmDecl()
772 ExpandedTypes.push_back(getCanonicalType(NTTP->getExpansionType(I))); in getCanonicalTemplateTemplateParmDecl()
780 NTTP->getDepth(), in getCanonicalTemplateTemplateParmDecl()
781 NTTP->getPosition(), nullptr, in getCanonicalTemplateTemplateParmDecl()
790 NTTP->getDepth(), in getCanonicalTemplateTemplateParmDecl()
791 NTTP->getPosition(), nullptr, in getCanonicalTemplateTemplateParmDecl()
793 NTTP->isParameterPack(), in getCanonicalTemplateTemplateParmDecl()
5583 } else if (auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(Param)) { in getInjectedTemplateArg() local
5585 NTTP->getType().getNonPackExpansionType().getNonLValueExprType(*this); in getInjectedTemplateArg()
5593 *this, NTTP, /*RefersToEnclosingVariableOrCapture*/ false, T, in getInjectedTemplateArg()
5594 Expr::getValueKindForType(NTTP->getType()), NTTP->getLocation()); in getInjectedTemplateArg()
5596 if (NTTP->isParameterPack()) in getInjectedTemplateArg()
5598 PackExpansionExpr(DependentTy, E, NTTP->getLocation(), std::nullopt); in getInjectedTemplateArg()