Lines Matching refs:TryConsumeToken
509 if (TryConsumeToken(tok::kw_typename, TypenameLoc)) in ParseUsingDeclaration()
1857 if (!TryConsumeToken(tok::comma)) in ParseBaseClause()
1884 if (TryConsumeToken(tok::kw_virtual)) in ParseBaseSpecifier()
1931 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseBaseSpecifier()
2103 if (!DeclaratorInfo.isFunctionDeclarator() && TryConsumeToken(tok::colon)) { in ParseCXXMemberDeclaratorBeforeInitializer()
2416 if (TryConsumeToken(tok::semi)) { in ParseCXXClassMemberDeclaration()
2468 TryConsumeToken(tok::semi); in ParseCXXClassMemberDeclaration()
2516 TryConsumeToken(tok::semi); in ParseCXXClassMemberDeclaration()
2686 if (!TryConsumeToken(tok::comma, CommaLoc)) in ParseCXXClassMemberDeclaration()
2720 TryConsumeToken(tok::semi); in ParseCXXClassMemberDeclaration()
2755 if (TryConsumeToken(tok::equal, EqualLoc)) { in ParseCXXMemberInitializer()
2904 if (TryConsumeToken(tok::colon, EndLoc)) { in ParseCXXClassMemberDeclarationWithPragmas()
2905 } else if (TryConsumeToken(tok::semi, EndLoc)) { in ParseCXXClassMemberDeclarationWithPragmas()
3304 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseMemInitializer()
3324 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseMemInitializer()
3523 if (!TryConsumeToken(tok::comma)) in ParseDynamicExceptionSpecification()
3787 if (!TryConsumeToken(tok::colon) && CommonScopeName) in ParseCXX11AttributeSpecifier()
3795 if (TryConsumeToken(tok::comma)) in ParseCXX11AttributeSpecifier()
3807 if (TryConsumeToken(tok::coloncolon)) { in ParseCXX11AttributeSpecifier()
3848 if (TryConsumeToken(tok::ellipsis)) in ParseCXX11AttributeSpecifier()