• Home
  • Raw
  • Download

Lines Matching refs:NTTP

291                               NonTypeTemplateParmDecl *NTTP,  in DeduceNonTypeTemplateArgument()  argument
296 assert(NTTP->getDepth() == 0 && in DeduceNonTypeTemplateArgument()
302 Deduced[NTTP->getIndex()], in DeduceNonTypeTemplateArgument()
305 Info.Param = NTTP; in DeduceNonTypeTemplateArgument()
306 Info.FirstArg = Deduced[NTTP->getIndex()]; in DeduceNonTypeTemplateArgument()
311 Deduced[NTTP->getIndex()] = Result; in DeduceNonTypeTemplateArgument()
321 NonTypeTemplateParmDecl *NTTP, in DeduceNonTypeTemplateArgument() argument
325 assert(NTTP->getDepth() == 0 && in DeduceNonTypeTemplateArgument()
332 Deduced[NTTP->getIndex()], in DeduceNonTypeTemplateArgument()
336 Info.Param = NTTP; in DeduceNonTypeTemplateArgument()
337 Info.FirstArg = Deduced[NTTP->getIndex()]; in DeduceNonTypeTemplateArgument()
342 Deduced[NTTP->getIndex()] = Result; in DeduceNonTypeTemplateArgument()
352 NonTypeTemplateParmDecl *NTTP, in DeduceNonTypeTemplateArgument() argument
356 assert(NTTP->getDepth() == 0 && in DeduceNonTypeTemplateArgument()
360 TemplateArgument New(D, NTTP->getType()); in DeduceNonTypeTemplateArgument()
363 Deduced[NTTP->getIndex()], in DeduceNonTypeTemplateArgument()
366 Info.Param = NTTP; in DeduceNonTypeTemplateArgument()
367 Info.FirstArg = Deduced[NTTP->getIndex()]; in DeduceNonTypeTemplateArgument()
372 Deduced[NTTP->getIndex()] = Result; in DeduceNonTypeTemplateArgument()
530 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND)) in getDepthAndIndex() local
531 return std::make_pair(NTTP->getDepth(), NTTP->getIndex()); in getDepthAndIndex()
552 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(D)) in makeTemplateParameter() local
553 return TemplateParameter(NTTP); in makeTemplateParameter()
1343 NonTypeTemplateParmDecl *NTTP in DeduceTemplateArgumentsByTypeMatch() local
1345 if (!NTTP) in DeduceTemplateArgumentsByTypeMatch()
1350 assert(NTTP->getDepth() == 0 && in DeduceTemplateArgumentsByTypeMatch()
1355 return DeduceNonTypeTemplateArgument(S, NTTP, Size, in DeduceTemplateArgumentsByTypeMatch()
1363 return DeduceNonTypeTemplateArgument(S, NTTP, in DeduceTemplateArgumentsByTypeMatch()
1612 NonTypeTemplateParmDecl *NTTP in DeduceTemplateArgumentsByTypeMatch() local
1614 if (!NTTP) in DeduceTemplateArgumentsByTypeMatch()
1619 return DeduceNonTypeTemplateArgument(S, NTTP, ArgSize, S.Context.IntTy, in DeduceTemplateArgumentsByTypeMatch()
1634 NonTypeTemplateParmDecl *NTTP in DeduceTemplateArgumentsByTypeMatch() local
1636 if (!NTTP) in DeduceTemplateArgumentsByTypeMatch()
1639 return DeduceNonTypeTemplateArgument(S, NTTP, VectorArg->getSizeExpr(), in DeduceTemplateArgumentsByTypeMatch()
1740 if (NonTypeTemplateParmDecl *NTTP in DeduceTemplateArguments() local
1743 return DeduceNonTypeTemplateArgument(S, NTTP, in DeduceTemplateArguments()
1749 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsExpr(), in DeduceTemplateArguments()
1752 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsDecl(), in DeduceTemplateArguments()
2145 if (NonTypeTemplateParmDecl *NTTP in FinishTemplateArgumentDeduction() local
2147 NTTPType = NTTP->getType(); in FinishTemplateArgumentDeduction()
2153 NTTP->getLocation(), in FinishTemplateArgumentDeduction()
2154 NTTP->getDeclName()); in FinishTemplateArgumentDeduction()
2313 if (NonTypeTemplateParmDecl *NTTP = in FinishTemplateArgumentDeduction() local
2315 NTTPType = NTTP->getType(); in FinishTemplateArgumentDeduction()
2321 NTTP->getLocation(), NTTP->getDeclName()); in FinishTemplateArgumentDeduction()
2813 if (NonTypeTemplateParmDecl *NTTP in FinishTemplateArgumentDeduction() local
2815 NTTPType = NTTP->getType(); in FinishTemplateArgumentDeduction()
2821 NTTP->getLocation(), in FinishTemplateArgumentDeduction()
2822 NTTP->getDeclName()); in FinishTemplateArgumentDeduction()
3260 if (NonTypeTemplateParmDecl *NTTP = in DeduceFromInitializerList() local
3264 assert(NTTP->getDepth() == 0 && in DeduceFromInitializerList()
3266 llvm::APInt Size(S.Context.getIntWidth(NTTP->getType()), in DeduceFromInitializerList()
3270 S, NTTP, llvm::APSInt(Size), NTTP->getType(), in DeduceFromInitializerList()
4685 const NonTypeTemplateParmDecl *NTTP in MarkUsedTemplateParameters() local
4687 if (!NTTP) in MarkUsedTemplateParameters()
4690 if (NTTP->getDepth() == Depth) in MarkUsedTemplateParameters()
4691 Used[NTTP->getIndex()] = true; in MarkUsedTemplateParameters()