Lines Matching refs:NextToken
191 tok::TokenKind NextKind = NextToken().getKind(); in ParseOptionalCXXScopeSpecifier()
364 if (Tok.is(tok::annot_template_id) && NextToken().is(tok::coloncolon)) { in ParseOptionalCXXScopeSpecifier()
415 if (!NextToken().is(tok::l_paren)) { in ParseOptionalCXXScopeSpecifier()
437 Token Next = NextToken(); in ParseOptionalCXXScopeSpecifier()
465 Next = NextToken(); // Point Next at the '{' token. in ParseOptionalCXXScopeSpecifier()
674 assert(Tok.is(tok::ellipsis) && NextToken().is(tok::l_square) && in ParseCXXPackIndexingExpression()
691 Tok.is(tok::ellipsis) && NextToken().is(tok::l_square)) { in tryParseCXXPackIndexingExpression()
829 const Token Next = NextToken(); in TryParseLambdaExpression()
933 (NextToken().is(tok::comma) || NextToken().is(tok::r_square))) { in ParseLambdaIntroducer()
1010 NextToken().isOneOf(tok::comma, tok::r_square) && in ParseLambdaIntroducer()
1139 NextToken().isOneOf(tok::colon, tok::r_square)) { in ParseLambdaIntroducer()
1492 (Tok.is(tok::l_square) && NextToken().is(tok::l_square)); in ParseLambdaExpressionAfterIntroducer()
1664 Token Next = NextToken(); in ParseCXXCasts()
2748 (!getLangOpts().CPlusPlus11 || NextToken().isNot(tok::l_square))) { in ParseUnqualifiedIdOperator()
3184 if (NextToken().is(tok::coloncolon)) { in ParseUnqualifiedId()
3199 if (Tok.isNot(tok::identifier) || NextToken().is(tok::coloncolon) || in ParseUnqualifiedId()
3241 if (!NextToken().is(tok::l_paren)) { in ParseUnqualifiedId()
3502 if (Tok.is(tok::l_square) && NextToken().is(tok::r_square)) { in ParseCXXDeleteExpression()
3520 SourceLocation RSquareLoc = NextToken().getLocation(); in ParseCXXDeleteExpression()
3812 !NextToken().isOneOf(tok::l_brace, tok::l_paren)) { in ParseRequiresExpression()
4099 if (Tok.is(tok::l_paren) && NextToken().is(tok::r_paren)) { in ParseCXXAmbiguousParenExpression()