Lines Matching refs:isOneOf
77 assert(Tok.isOneOf(tok::kw_export, tok::kw_template) && in ParseTemplateDeclarationOrSpecialization()
160 } while (Tok.isOneOf(tok::kw_export, tok::kw_template)); in ParseTemplateDeclarationOrSpecialization()
498 } else if (Tok.isOneOf(tok::greater, tok::greatergreater)) { in ParseTemplateParameterList()
557 .isOneOf(tok::kw_auto, tok::kw_decltype)) in isStartOfTemplateTypeParameter()
760 assert((Tok.isOneOf(tok::kw_class, tok::kw_typename) || in ParseTypeParameter()
803 } else if (Tok.isOneOf(tok::equal, tok::comma, tok::greater, in ParseTypeParameter()
876 bool Replace = Tok.isOneOf(tok::kw_typename, tok::kw_struct); in ParseTemplateTemplateParameter()
886 } else if (Next.isOneOf(tok::identifier, tok::comma, tok::greater, in ParseTemplateTemplateParameter()
912 } else if (Tok.isOneOf(tok::equal, tok::comma, tok::greater, in ParseTemplateTemplateParameter()
1112 (Next.isOneOf(tok::greater, tok::greatergreater, in ParseGreaterThanInTemplateList()
1228 if (!Tok.isOneOf(tok::greater, tok::greatergreater, in ParseTemplateIdAfterTemplateName()
1424 return Tok.isOneOf(tok::comma, tok::greater, tok::greatergreater, in isEndOfTemplateArgument()
1670 assert(Tok.isOneOf(tok::l_brace, tok::colon, tok::kw_try) && in ParseLateTemplatedFuncDef()
1760 NextToken().isOneOf(tok::greatergreater, tok::greatergreatergreater))) { in checkPotentialAngleBracket()
1825 OpToken.isOneOf(tok::greatergreater, tok::greatergreatergreater))) in checkPotentialAngleBracketDelimiter()