Lines Matching refs:NextToken
90 while (Tok.is(tok::coloncolon) && NextToken().is(tok::identifier)) { in ParseNamespace()
545 Tok.is(tok::identifier) && NextToken().is(tok::semi) && in ParseUsingDeclaration()
556 NextToken().is(tok::equal)), in ParseUsingDeclaration()
1158 if (!isKnownToBeTypeSpecifier(NextToken())) in isValidAfterTypeSpecifier()
1491 (NextToken().is(tok::l_brace) || NextToken().is(tok::colon)))) { in ParseClassSpecifier()
1506 } else if (isCXX11FinalKeyword() && (NextToken().is(tok::l_square) || in ParseClassSpecifier()
1507 NextToken().is(tok::kw_alignas))) { in ParseClassSpecifier()
1517 if (Tok.is(tok::l_square) && NextToken().is(tok::l_square)) { in ParseClassSpecifier()
1521 } else if (Tok.is(tok::kw_alignas) && NextToken().is(tok::l_paren)) { in ParseClassSpecifier()
1918 NextToken().is(tok::less)) in ParseBaseSpecifier()
2264 if (getLangOpts().ObjC1 && NextToken().isObjCAtKeyword(tok::objc_defs)) in ParseCXXClassMemberDeclaration()
2292 else if (NextToken().is(tok::identifier)) in ParseCXXClassMemberDeclaration()
2295 isAccessDecl = NextToken().is(tok::kw_operator); in ParseCXXClassMemberDeclaration()
2444 auto &Zero = NextToken(); in ParseCXXClassMemberDeclaration()
2491 const Token &KW = NextToken(); in ParseCXXClassMemberDeclaration()
2762 const Token &Next = NextToken(); in ParseCXXMemberInitializer()
3045 SuggestFixIt = NextToken().getKind() == tok::colon; in ParseCXXMemberSpecification()
3766 assert(Tok.is(tok::l_square) && NextToken().is(tok::l_square) in ParseCXX11AttributeSpecifier()