Lines Matching refs:greater
342 if (!Tok.is(tok::greater) && !Tok.is(tok::greatergreater)) in ParseTemplateParameters()
351 Tok.setKind(tok::greater); in ParseTemplateParameters()
354 } else if (!TryConsumeToken(tok::greater, RAngleLoc) && Failed) { in ParseTemplateParameters()
355 Diag(Tok.getLocation(), diag::err_expected) << tok::greater; in ParseTemplateParameters()
379 SkipUntil(tok::comma, tok::greater, tok::greatergreater, in ParseTemplateParameterList()
386 } else if (Tok.isOneOf(tok::greater, tok::greatergreater)) { in ParseTemplateParameterList()
394 SkipUntil(tok::comma, tok::greater, tok::greatergreater, in ParseTemplateParameterList()
411 case tok::greater: in isStartOfTemplateTypeParameter()
428 case tok::greater: in isStartOfTemplateTypeParameter()
455 case tok::greater: in isStartOfTemplateTypeParameter()
525 } else if (Tok.isOneOf(tok::equal, tok::comma, tok::greater, in ParseTypeParameter()
596 } else if (Next.isOneOf(tok::identifier, tok::comma, tok::greater, in ParseTemplateTemplateParameter()
622 } else if (Tok.isOneOf(tok::equal, tok::comma, tok::greater, in ParseTemplateTemplateParameter()
652 SkipUntil(tok::comma, tok::greater, tok::greatergreater, in ParseTemplateTemplateParameter()
707 SkipUntil(tok::comma, tok::greater, StopAtSemi | StopBeforeMatch); in ParseNonTypeTemplateParameter()
762 Diag(Tok.getLocation(), diag::err_expected) << tok::greater; in ParseGreaterThanInTemplateList()
765 case tok::greater: in ParseGreaterThanInTemplateList()
774 RemainingToken = tok::greater; in ParseGreaterThanInTemplateList()
817 if ((RemainingToken == tok::greater || in ParseGreaterThanInTemplateList()
819 (Next.isOneOf(tok::greater, tok::greatergreater, in ParseGreaterThanInTemplateList()
857 RemainingToken == tok::greater && PP.IsPreviousCachedToken(PrevTok)) { in ParseGreaterThanInTemplateList()
872 Tok.setKind(tok::greater); in ParseGreaterThanInTemplateList()
915 if (Tok.isNot(tok::greater) && Tok.isNot(tok::greatergreater)) in ParseTemplateIdAfterTemplateName()
921 SkipUntil(tok::greater, StopAtSemi); in ParseTemplateIdAfterTemplateName()
923 SkipUntil(tok::greater, StopAtSemi | StopBeforeMatch); in ParseTemplateIdAfterTemplateName()
993 TryConsumeToken(tok::greater); in AnnotateTemplateIdToken()
1008 TryConsumeToken(tok::greater); in AnnotateTemplateIdToken()
1098 return Tok.isOneOf(tok::comma, tok::greater, tok::greatergreater); in isEndOfTemplateArgument()
1248 if (Tok.is(tok::greater)) in IsTemplateArgumentList()
1256 return Tok.isOneOf(tok::greater, tok::comma); in IsTemplateArgumentList()
1278 SkipUntil(tok::comma, tok::greater, StopAtSemi | StopBeforeMatch); in ParseTemplateArgumentList()