Lines Matching defs:TTP
111 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *TTP);
1179 if (const auto *TTP = dyn_cast<TemplateTypeParmDecl>(Param)) {
1180 VisitTemplateTypeParmDecl(TTP);
1237 if (const TemplateTemplateParmDecl *TTP =
1239 if (TTP->wasDeclaredWithTypename())
1244 if (TTP->isParameterPack())
1246 else if (TTP->getDeclName())
1249 if (TTP->getDeclName()) {
1250 if (Policy.CleanUglifiedParameters && TTP->getIdentifier())
1251 Out << TTP->getIdentifier()->deuglifiedName();
1253 Out << TTP->getDeclName();
1871 void DeclPrinter::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *TTP) {
1872 if (const TypeConstraint *TC = TTP->getTypeConstraint())
1874 else if (TTP->wasDeclaredWithTypename())
1879 if (TTP->isParameterPack())
1881 else if (TTP->getDeclName())
1884 if (TTP->getDeclName()) {
1885 if (Policy.CleanUglifiedParameters && TTP->getIdentifier())
1886 Out << TTP->getIdentifier()->deuglifiedName();
1888 Out << TTP->getDeclName();
1891 if (TTP->hasDefaultArgument()) {
1893 TTP->getDefaultArgument().getArgument().print(Policy, Out,