Lines Matching refs:NextToken
1151 assert(Tok.is(tok::l_square) && NextToken().is(tok::l_square));
1182 assert((Tok.is(tok::l_square) && NextToken().is(tok::l_square)) ||
1247 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) {
1343 NextToken().is(tok::l_square);
1349 switch (NextToken().getKind()) {
1376 return getLangOpts().CPlusPlus11 && isCXX11VirtSpecifier(NextToken());
1427 if (Tok.isAtStartOfLine() && NextToken().is(tok::kw_namespace) &&
1443 if (NextToken().isObjCAtKeyword(tok::objc_end) &&
1927 isValidAfterIdentifierInDeclarator(NextToken())) {
1998 switch (NextToken().getKind()) {
2294 Token Next = NextToken();
3317 TPResult TPR = isExpressionOrTypeSpecifierSimple(NextToken().getKind());
3722 if (NextToken().is(tok::kw_new) || // ::new
3723 NextToken().is(tok::kw_delete)) // ::delete
3837 if (getLangOpts().ObjC1 && NextToken().is(tok::period))
3863 if (NextToken().is(tok::kw_new) || // ::new
3864 NextToken().is(tok::kw_delete)) // ::delete
4030 (Tok.is(tok::ellipsis) && NextToken().is(tok::r_paren))) {
4051 (Tok.is(tok::annot_cxxscope) && NextToken().is(tok::identifier))) {
4462 NextToken().is(tok::r_paren) &&
4670 NextToken().is(tok::r_paren)) || // C++ int(...)
4925 && (NextToken().is(tok::comma) || NextToken().is(tok::r_paren));
5388 Token Next = NextToken();
5417 Token Next = NextToken();