Lines Matching defs:TTP
111 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *TTP);
1180 if (const auto *TTP = dyn_cast<TemplateTypeParmDecl>(Param)) {
1181 VisitTemplateTypeParmDecl(TTP);
1238 if (const TemplateTemplateParmDecl *TTP =
1240 if (TTP->wasDeclaredWithTypename())
1245 if (TTP->isParameterPack())
1247 else if (TTP->getDeclName())
1250 if (TTP->getDeclName()) {
1251 if (Policy.CleanUglifiedParameters && TTP->getIdentifier())
1252 Out << TTP->getIdentifier()->deuglifiedName();
1254 Out << TTP->getDeclName();
1872 void DeclPrinter::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *TTP) {
1873 if (const TypeConstraint *TC = TTP->getTypeConstraint())
1875 else if (TTP->wasDeclaredWithTypename())
1880 if (TTP->isParameterPack())
1882 else if (TTP->getDeclName())
1885 if (TTP->getDeclName()) {
1886 if (Policy.CleanUglifiedParameters && TTP->getIdentifier())
1887 Out << TTP->getIdentifier()->deuglifiedName();
1889 Out << TTP->getDeclName();
1892 if (TTP->hasDefaultArgument()) {
1894 TTP->getDefaultArgument().getArgument().print(Policy, Out,