Lines Matching defs:TST
115 if (const TemplateSpecializationType *TST =
117 if (!TST->isTypeAlias()) {
120 for (const TemplateArgument &Arg : TST->template_arguments()) {
131 TST->getTemplateName(), Args, QT);
964 /// TST - the template specialization whose arguments this iterator
966 const TemplateSpecializationType *TST;
968 /// Index - the index of the template argument in TST.
980 InternalIterator(const TemplateSpecializationType *TST)
981 : TST(TST), Index(0), CurrentTA(nullptr), EndTA(nullptr) {
982 if (!TST) return;
987 TemplateArgument TA = TST->template_arguments()[0];
1003 bool isValid() const { return TST; }
1007 assert(TST && "InternalIterator is invalid with a null TST.");
1008 return Index >= TST->template_arguments().size();
1013 assert(TST && "InternalIterator is invalid with a null TST.");
1028 if (++Index == TST->template_arguments().size())
1032 TemplateArgument TA = TST->template_arguments()[Index];
1049 assert(TST && "InternalIterator is invalid with a null TST.");
1052 return TST->template_arguments()[Index];
1059 assert(TST && "InternalIterator is invalid with a null TST.");
1068 TSTiterator(ASTContext &Context, const TemplateSpecializationType *TST)
1069 : SugaredIterator(TST),
1071 (TST->isSugared() && !TST->isTypeAlias())
1072 ? GetTemplateSpecializationType(Context, TST->desugar())
1117 if (const TemplateSpecializationType *TST =
1119 return TST;
1372 // FIXME: With P3310R0, A TST formed from a DeducedTemplateName might
1423 const TemplateSpecializationType *TST) {
1424 while (TST) {
1425 TemplateList.push_back(TST);
1426 if (!TST->isTypeAlias())
1428 TST = TST->getAliasedType()->getAs<TemplateSpecializationType>();