Lines Matching refs:NextToken
227 tok::TokenKind NextKind = NextToken().getKind(); in ParseOptionalCXXScopeSpecifier()
371 if (Tok.is(tok::annot_template_id) && NextToken().is(tok::coloncolon)) { in ParseOptionalCXXScopeSpecifier()
429 Token Next = NextToken(); in ParseOptionalCXXScopeSpecifier()
457 Next = NextToken(); // Point Next at the '{' token. in ParseOptionalCXXScopeSpecifier()
742 const Token Next = NextToken(), After = GetLookAheadToken(2); in TryParseLambdaExpression()
797 (NextToken().is(tok::comma) || NextToken().is(tok::r_square))) { in ParseLambdaIntroducer()
1165 (Tok.is(tok::l_square) && NextToken().is(tok::l_square))) { in ParseLambdaExpressionAfterIntroducer()
1285 Token Next = NextToken(); in ParseCXXCasts()
2165 (!getLangOpts().CPlusPlus11 || NextToken().isNot(tok::l_square))) { in ParseUnqualifiedIdOperator()
2523 if (!TemplateSpecified && NextToken().is(tok::coloncolon)) { in ParseUnqualifiedId()
2537 if (Tok.isNot(tok::identifier) || NextToken().is(tok::coloncolon) || in ParseUnqualifiedId()
2818 if (Tok.is(tok::l_square) && NextToken().is(tok::r_square)) { in ParseCXXDeleteExpression()
3060 if (Tok.is(tok::l_paren) && NextToken().is(tok::r_paren)) { in ParseCXXAmbiguousParenExpression()