Lines Matching refs:isOneOf
219 Tok.isOneOf(tok::kw_decltype, tok::annot_decltype)) { in ParseOptionalCXXScopeSpecifier()
496 assert(Tok.isOneOf(tok::coloncolon, tok::colon) && in ParseOptionalCXXScopeSpecifier()
838 After.isOneOf(tok::r_square, tok::comma)) || in TryParseLambdaExpression()
1009 } else if (Tok.isOneOf(tok::amp, tok::equal) && in ParseLambdaIntroducer()
1010 NextToken().isOneOf(tok::comma, tok::r_square) && in ParseLambdaIntroducer()
1071 } else if (Tok.isOneOf(tok::l_brace, tok::equal)) { in ParseLambdaIntroducer()
1139 NextToken().isOneOf(tok::colon, tok::r_square)) { in ParseLambdaIntroducer()
1486 Tok.isOneOf(tok::kw_mutable, tok::arrow, tok::kw___attribute, in ParseLambdaExpressionAfterIntroducer()
1549 if (Tok.isOneOf(tok::kw___private, tok::kw___global, tok::kw___local, in ParseLambdaExpressionAfterIntroducer()
3513 if (Next.isOneOf(tok::l_brace, tok::less) || in ParseCXXDeleteExpression()
3811 if (Tok.isOneOf(tok::identifier, tok::annot_template_id) && in ParseRequiresExpression()
3812 !NextToken().isOneOf(tok::l_brace, tok::l_paren)) { in ParseRequiresExpression()