Lines Matching defs:TTP
802 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(D))
803 return TemplateParameter(TTP);
1628 if (const auto *TTP = P->getAs<TemplateTypeParmType>()) {
1631 if (A->isPlaceholderType() || Info.getDeducedDepth() != TTP->getDepth())
1634 unsigned Index = TTP->getIndex();
1660 assert(TTP->getDepth() == Info.getDeducedDepth() &&
2893 } else if (auto *TTP = dyn_cast<TemplateTemplateParmDecl>(Param)) {
2895 TTP, SugaredOutput,
2897 if (Inst.isInvalid() || !S.SubstDecl(TTP, S.CurContext, Args))
6258 if (auto *TTP = llvm::dyn_cast_or_null<TemplateTemplateParmDecl>(
6260 if (TTP->getDepth() == Depth)
6261 Used[TTP->getIndex()] = true;
6333 if (TemplateTemplateParmDecl *TTP
6335 if (TTP->getDepth() == Depth)
6336 Used[TTP->getIndex()] = true;
6495 const TemplateTypeParmType *TTP = cast<TemplateTypeParmType>(T);
6496 if (TTP->getDepth() == Depth)
6497 Used[TTP->getIndex()] = true;