Lines Matching defs:NTTP
290 Sema &S, NonTypeTemplateParmDecl *NTTP, const llvm::APSInt &Value,
293 assert(NTTP->getDepth() == 0 &&
299 Deduced[NTTP->getIndex()],
302 Info.Param = NTTP;
303 Info.FirstArg = Deduced[NTTP->getIndex()];
308 Deduced[NTTP->getIndex()] = Result;
318 NonTypeTemplateParmDecl *NTTP,
322 assert(NTTP->getDepth() == 0 &&
329 Deduced[NTTP->getIndex()],
333 Info.Param = NTTP;
334 Info.FirstArg = Deduced[NTTP->getIndex()];
339 Deduced[NTTP->getIndex()] = Result;
349 NonTypeTemplateParmDecl *NTTP,
353 assert(NTTP->getDepth() == 0 &&
357 TemplateArgument New(D, NTTP->getType());
360 Deduced[NTTP->getIndex()],
363 Info.Param = NTTP;
364 Info.FirstArg = Deduced[NTTP->getIndex()];
369 Deduced[NTTP->getIndex()] = Result;
526 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND))
527 return std::make_pair(NTTP->getDepth(), NTTP->getIndex());
548 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(D))
549 return TemplateParameter(NTTP);
1339 NonTypeTemplateParmDecl *NTTP
1341 if (!NTTP)
1346 assert(NTTP->getDepth() == 0 &&
1351 return DeduceNonTypeTemplateArgument(S, NTTP, Size,
1359 return DeduceNonTypeTemplateArgument(S, NTTP,
1624 NonTypeTemplateParmDecl *NTTP
1626 if (!NTTP)
1631 return DeduceNonTypeTemplateArgument(S, NTTP, ArgSize, S.Context.IntTy,
1646 NonTypeTemplateParmDecl *NTTP
1648 if (!NTTP)
1651 return DeduceNonTypeTemplateArgument(S, NTTP, VectorArg->getSizeExpr(),
1753 if (NonTypeTemplateParmDecl *NTTP
1756 return DeduceNonTypeTemplateArgument(S, NTTP,
1762 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsExpr(),
1765 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsDecl(),
2083 if (NonTypeTemplateParmDecl *NTTP =
2085 NTTPType = NTTP->getType();
2090 NTTP->getLocation(),
2091 NTTP->getDeclName());
3252 if (NonTypeTemplateParmDecl *NTTP =
3256 assert(NTTP->getDepth() == 0 &&
3258 llvm::APInt Size(S.Context.getIntWidth(NTTP->getType()),
3262 S, NTTP, llvm::APSInt(Size), NTTP->getType(),
4675 const NonTypeTemplateParmDecl *NTTP
4677 if (!NTTP)
4680 if (NTTP->getDepth() == Depth)
4681 Used[NTTP->getIndex()] = true;