Lines Matching refs:NTTP
42 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(P))
43 if (NTTP->getType()->containsUnexpandedParameterPack())
75 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P))
76 if (NTTP->isExpandedParameterPack()) {
77 NumRequiredArgs += NTTP->getNumExpansionTypes();
87 } else if (NonTypeTemplateParmDecl *NTTP
89 if (NTTP->hasDefaultArgument())
108 else if (const NonTypeTemplateParmDecl *NTTP
110 return NTTP->getDepth();
191 } else if (NonTypeTemplateParmDecl *NTTP =
193 Expr *E = new (Context) DeclRefExpr(NTTP, /*enclosing*/ false,
194 NTTP->getType().getNonLValueExprType(Context),
195 Expr::getValueKindForType(NTTP->getType()),
196 NTTP->getLocation());
198 if (NTTP->isParameterPack())
200 NTTP->getLocation(), None);