Home | History | Annotate | Download | only in Sema

Lines Matching refs:NTTP

1212     if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(P)) {
1213 NTTP->isParameterPack() &&
1214 S.DiagnoseUnexpandedParameterPack(NTTP->getLocation(),
1215 NTTP->getTypeSourceInfo(),
1467 else if (NonTypeTemplateParmDecl *NTTP
1469 NTTP->removeDefaultArgument();
2347 const NonTypeTemplateParmDecl *NTTP =
2349 return NTTP && NTTP->getDepth() == Depth && NTTP->getIndex() == Index;
3392 if (NonTypeTemplateParmDecl *NTTP =dyn_cast<NonTypeTemplateParmDecl>(Param)) {
3396 QualType NTTPType = NTTP->getType();
3397 if (NTTP->isParameterPack() && NTTP->isExpandedParameterPack())
3398 NTTPType = NTTP->getExpansionType(ArgumentPackIndex);
3405 NTTP, Converted,
3414 NTTP->getLocation(),
3415 NTTP->getDeclName());
3420 NTTP->getLocation());
3432 CheckTemplateArgument(NTTP, NTTPType, Arg.getArgument().getAsExpr(),
3483 E = CheckTemplateArgument(NTTP, NTTPType, E.get(), Result);
3622 if (NonTypeTemplateParmDecl *NTTP
3624 if (NTTP->isExpandedParameterPack())
3625 return NTTP->getNumExpansionTypes();
3819 } else if (NonTypeTemplateParmDecl *NTTP
3821 if (!NTTP->hasDefaultArgument())
3828 NTTP,
5998 } else if (NonTypeTemplateParmDecl *NTTP
6000 if (Expr *DefArg = NTTP->getDefaultArgument()) {
6001 Diag(NTTP->getDefaultArgumentLoc(),
6004 NTTP->removeDefaultArgument();
8096 NonTypeTemplateParmDecl *NTTP = cast<NonTypeTemplateParmDecl>(Param);
8098 = RebuildTypeInCurrentInstantiation(NTTP->getTypeSourceInfo(),
8099 NTTP->getLocation(),
8100 NTTP->getDeclName());
8104 if (NewTSI != NTTP->getTypeSourceInfo()) {
8105 NTTP->setTypeSourceInfo(NewTSI);
8106 NTTP->setType(NewTSI->getType());