Lines Matching refs:NextToken
187 NextToken().is(tok::semi)) { in ExpectAndConsumeSemi()
756 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration()
766 tok::TokenKind NextKind = NextToken().getKind(); in ParseExternalDeclaration()
786 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration()
821 const Token &KW = NextToken(); in isDeclarationAfterDeclarator()
848 const Token &KW = NextToken(); in isStartOfFunctionDefinition()
1450 Token Next = NextToken(); in TryAnnotateName()
1486 if (getLangOpts().ObjC1 && NextToken().is(tok::less) && in TryAnnotateName()
1595 if (getLangOpts().MSVCCompat && NextToken().is(tok::kw_typedef)) { in TryAnnotateTypeOrScopeToken()
1703 false, NextToken().is(tok::period), nullptr, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1717 if (getLangOpts().ObjC1 && NextToken().is(tok::less) && in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1752 if (NextToken().is(tok::less)) { in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1810 (Tok.is(tok::annot_template_id) && NextToken().is(tok::coloncolon)) || in TryAnnotateCXXScopeToken()