Lines Matching refs:NextToken
45 if (Tok.is(tok::kw_template) && NextToken().isNot(tok::less)) { in ParseDeclarationStartingWithTemplate()
438 switch (NextToken().getKind()) { in isStartOfTemplateTypeParameter()
489 Token Next = NextToken(); in isStartOfTemplateTypeParameter()
595 const Token &T = Tok.is(tok::annot_cxxscope) ? NextToken() : Tok; in isTypeConstraintAnnotation()
821 const Token &Next = Tok.is(tok::kw_struct) ? NextToken() : Tok; in ParseTemplateTemplateParameter()
934 if (Tok.is(tok::l_paren) && NextToken().is(tok::l_brace)) { in ParseNonTypeTemplateParameter()
1041 if (NextToken().is(tok::equal) && in ParseGreaterThanInTemplateList()
1042 areTokensAdjacent(Tok, NextToken())) { in ParseGreaterThanInTemplateList()
1063 Token Next = NextToken(); in ParseGreaterThanInTemplateList()
1742 if (NextToken().is(tok::greater) || in checkPotentialAngleBracket()
1744 NextToken().isOneOf(tok::greatergreater, tok::greatergreatergreater))) { in checkPotentialAngleBracket()
1797 NextToken().is(tok::r_paren)) { in checkPotentialAngleBracketDelimiter()