Lines Matching defs:NTTP
2045 NonTypeTemplateParmDecl *NTTP) {
2050 if (!TemplateArgs.hasTemplateArgument(NTTP->getDepth(),
2051 NTTP->getPosition()))
2054 TemplateArgument Arg = TemplateArgs(NTTP->getDepth(), NTTP->getPosition());
2071 auto [AssociatedDecl, _] = TemplateArgs.getAssociatedDecl(NTTP->getDepth());
2073 if (NTTP->isParameterPack()) {
2081 QualType TargetType = SemaRef.SubstType(NTTP->getType(), TemplateArgs,
2083 NTTP->getDeclName());
2093 E->getLocation(), Arg, AssociatedDecl, NTTP->getPosition());
2099 return transformNonTypeTemplateParmRef(AssociatedDecl, NTTP, E->getLocation(),
2379 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(D)) {
2380 if (NTTP->getDepth() < TemplateArgs.getNumLevels())
2381 return TransformTemplateParmRefExpr(E, NTTP);