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