Searched refs:GetLookAheadToken (Results 1 – 7 of 7) sorted by relevance
86 Token SecondToken = GetLookAheadToken(2); in CheckForTemplateAndDigraph()112 Token NextTok = GetLookAheadToken(1); in CheckForLParenAfterColonColon()115 Token IdentifierTok = StarTok.is(tok::star) ? GetLookAheadToken(2) : StarTok; in CheckForLParenAfterColonColon()123 NextTok = StarTok.is(tok::star) ? GetLookAheadToken(2) : GetLookAheadToken(1); in CheckForLParenAfterColonColon()380 if (CheckForDestructor && GetLookAheadToken(2).is(tok::tilde)) { in ParseOptionalCXXScopeSpecifier()449 if (Next.is(tok::coloncolon) && GetLookAheadToken(2).is(tok::l_brace)) { in ParseOptionalCXXScopeSpecifier()461 if (CheckForDestructor && GetLookAheadToken(2).is(tok::tilde) && in ParseOptionalCXXScopeSpecifier()469 const Token &Next2 = GetLookAheadToken(2); in ParseOptionalCXXScopeSpecifier()746 const Token After = GetLookAheadToken(2); in TryParseLambdaExpression()
2580 const Token &Next = HasScope ? GetLookAheadToken(2) : NextToken(); in DiagnoseMissingSemiAfterTagDefinition()2706 !DS.hasTypeSpecifier() && GetLookAheadToken(1).is(tok::less)) in ParseDeclarationSpecifiers()3175 if (isKnownToBeTypeSpecifier(GetLookAheadToken(1))) { in ParseDeclarationSpecifiers()3945 GetLookAheadToken(2).getKind() == tok::semi) { in ParseEnumSpecifier()5681 GetLookAheadToken(0).is(tok::kw_noexcept) && in ParseFunctionDeclarator()5682 GetLookAheadToken(1).is(tok::l_paren) && in ParseFunctionDeclarator()5683 GetLookAheadToken(2).is(tok::kw_noexcept) && in ParseFunctionDeclarator()5684 GetLookAheadToken(3).is(tok::l_paren) && in ParseFunctionDeclarator()5685 GetLookAheadToken(4).is(tok::identifier) && in ParseFunctionDeclarator()5686 GetLookAheadToken(4).getIdentifierInfo()->isStr("swap")) { in ParseFunctionDeclarator()[all …]
254 !isKnownToBeTypeSpecifier(GetLookAheadToken(1))) { // we have a category. in ParseObjCAtInterfaceDeclaration()2553 Token AfterAt = GetLookAheadToken(1); in ParseObjCTryStmt()2863 if (GetLookAheadToken(1).is(tok::l_brace)) { in ParseObjCAtExpression()2980 return GetLookAheadToken(1).is(tok::identifier) && in isSimpleObjCMessageExpression()2981 GetLookAheadToken(2).is(tok::identifier); in isSimpleObjCMessageExpression()3000 const Token &AfterNext = GetLookAheadToken(2); in isStartOfObjCClassMessageMissingOpenBracket()
425 switch (GetLookAheadToken(2).getKind()) { in isStartOfTemplateTypeParameter()450 Next = GetLookAheadToken(2); in isStartOfTemplateTypeParameter()
2293 isAccessDecl = GetLookAheadToken(2).is(tok::semi); in ParseCXXClassMemberDeclaration()2450 auto &After = GetLookAheadToken(2); in ParseCXXClassMemberDeclaration()
2364 GetLookAheadToken(1).isNot(tok::period)) { in ParseParenExpression()
549 const Token &GetLookAheadToken(unsigned N) { in GetLookAheadToken() function