Lines Matching refs:NextToken

289       const Token &Next = NextToken();  in ParseAttributeArgsCommon()
450 } else if (NextToken().is(tok::comma) || NextToken().is(tok::r_paren)) { in ParseMicrosoftDeclSpecArgs()
463 if (!NextToken().is(tok::equal)) in ParseMicrosoftDeclSpecArgs()
1361 assert(Tok.is(tok::l_square) && NextToken().is(tok::l_square)); in DiagnoseProhibitedCXX11Attribute()
1392 assert((Tok.is(tok::l_square) && NextToken().is(tok::l_square)) || in DiagnoseMisplacedCXX11Attribute()
1496 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) { in ParseDeclaration()
1601 NextToken().is(tok::l_square); in MightBeDeclarator()
1607 switch (NextToken().getKind()) { in MightBeDeclarator()
1634 return getLangOpts().CPlusPlus11 && isCXX11VirtSpecifier(NextToken()); in MightBeDeclarator()
1684 if (Tok.isAtStartOfLine() && NextToken().is(tok::kw_namespace) && in SkipMalformedDecl()
1700 if (NextToken().isObjCAtKeyword(tok::objc_end) && in SkipMalformedDecl()
2274 isValidAfterIdentifierInDeclarator(NextToken())) { in ParseImplicitInt()
2365 switch (NextToken().getKind()) { in ParseImplicitInt()
2423 NextToken().is(tok::less)); in ParseImplicitInt()
2564 Token AfterScope = HasScope ? NextToken() : Tok; in DiagnoseMissingSemiAfterTagDefinition()
2580 const Token &Next = HasScope ? GetLookAheadToken(2) : NextToken(); in DiagnoseMissingSemiAfterTagDefinition()
2800 Token Next = NextToken(); in ParseDeclarationSpecifiers()
3489 if (NextToken().is(tok::l_paren)) { in ParseDeclarationSpecifiers()
3935 TPResult TPR = isExpressionOrTypeSpecifierSimple(NextToken().getKind()); in ParseEnumSpecifier()
4075 NextToken().is(tok::identifier)) in ParseEnumSpecifier()
4077 NextToken().getIdentifierInfo(), in ParseEnumSpecifier()
4078 NextToken().getLocation()); in ParseEnumSpecifier()
4370 if (NextToken().is(tok::kw_new) || // ::new in isTypeSpecifierQualifier()
4371 NextToken().is(tok::kw_delete)) // ::delete in isTypeSpecifierQualifier()
4483 if (getLangOpts().ObjC1 && NextToken().is(tok::period)) in isDeclarationSpecifier()
4509 if (NextToken().is(tok::kw_new) || // ::new in isDeclarationSpecifier()
4510 NextToken().is(tok::kw_delete)) // ::delete in isDeclarationSpecifier()
4685 (Tok.is(tok::ellipsis) && NextToken().is(tok::r_paren))) { in isConstructorDeclarator()
4715 (Tok.is(tok::annot_cxxscope) && NextToken().is(tok::identifier))) { in isConstructorDeclarator()
4742 if (NextToken().is(tok::colon) || NextToken().is(tok::kw_try)) { in isConstructorDeclarator()
4748 if (NextToken().is(tok::semi) || NextToken().is(tok::l_brace)) { in isConstructorDeclarator()
4849 IdentifierRequired && DS.isEmpty() && NextToken().is(tok::semi)) { in ParseTypeQualifierListOpt()
5001 (NextToken().is(tok::coloncolon) || NextToken().is(tok::less))) || in ParseDeclaratorInternal()
5246 NextToken().is(tok::r_paren) && in ParseDirectDeclarator()
5498 NextToken().is(tok::r_paren)) || // C++ int(...) in ParseParenDeclarator()
5788 && (NextToken().is(tok::comma) || NextToken().is(tok::r_paren)); in isFunctionDeclaratorIdentifierList()
5941 (NextToken().isNot(tok::r_paren) || in ParseParameterDeclarationClause()
5965 SourceLocation ArgStartLoc = NextToken().getLocation(); in ParseParameterDeclarationClause()
6328 assert(Tok.is(tok::kw__Atomic) && NextToken().is(tok::l_paren) && in ParseAtomicSpecifier()
6362 Token Next = NextToken(); in TryAltiVecVectorTokenOutOfLine()
6397 Token Next = NextToken(); in TryAltiVecTokenOutOfLine()