Lines Matching refs:GetLookAheadToken
3025 const Token &Next = HasScope ? GetLookAheadToken(2) : NextToken(); in DiagnoseMissingSemiAfterTagDefinition()
3170 !DS.hasTypeSpecifier() && GetLookAheadToken(1).is(tok::less)) in ParseDeclarationSpecifiers()
3349 GetLookAheadToken(2).isOneOf(tok::kw_auto, tok::kw_decltype)) { in ParseDeclarationSpecifiers()
3793 if (isKnownToBeTypeSpecifier(GetLookAheadToken(1))) { in ParseDeclarationSpecifiers()
5472 GetLookAheadToken(2).isOneOf(tok::kw_auto, tok::kw_decltype); in isDeclarationSpecifier()
6446 GetLookAheadToken(2).isOneOf(tok::comma, tok::r_square)) && in ParseDecompositionDeclarator()
6448 GetLookAheadToken(2).isOneOf(tok::equal, tok::l_brace))) in ParseDecompositionDeclarator()
6778 GetLookAheadToken(0).is(tok::kw_noexcept) && in ParseFunctionDeclarator()
6779 GetLookAheadToken(1).is(tok::l_paren) && in ParseFunctionDeclarator()
6780 GetLookAheadToken(2).is(tok::kw_noexcept) && in ParseFunctionDeclarator()
6781 GetLookAheadToken(3).is(tok::l_paren) && in ParseFunctionDeclarator()
6782 GetLookAheadToken(4).is(tok::identifier) && in ParseFunctionDeclarator()
6783 GetLookAheadToken(4).getIdentifierInfo()->isStr("swap")) { in ParseFunctionDeclarator()
7243 GetLookAheadToken(1).is(tok::r_square)) { in ParseBracketDeclarator()
7286 if (Tok.is(tok::star) && GetLookAheadToken(1).is(tok::r_square)) { in ParseBracketDeclarator()