Home | History | Annotate | Download | only in Parse

Lines Matching refs:comma

142       if (TryConsumeToken(tok::comma))
283 IsIdentifierArg = Next.is(tok::r_paren) || Next.is(tok::comma);
290 if (!ArgExprs.empty() ? Tok.is(tok::comma) : Tok.isNot(tok::r_paren)) {
291 // Eat the comma.
295 // Parse the non-empty comma-separated list of expressions.
308 // Eat the comma, move to the next argument
309 } while (TryConsumeToken(tok::comma));
448 } else if (NextToken().is(tok::comma) || NextToken().is(tok::r_paren)) {
493 if (TryConsumeToken(tok::comma))
546 if (TryConsumeToken(tok::comma))
645 SkipUntil(tok::comma, tok::r_paren,
674 SkipUntil(tok::comma, tok::r_paren,
693 SkipUntil(tok::comma, tok::r_paren,
721 SkipUntil(tok::comma, tok::r_paren,
736 SkipUntil(tok::comma, tok::r_paren,
787 if (ExpectAndConsume(tok::comma)) {
873 } while (TryConsumeToken(tok::comma));
942 if (ExpectAndConsume(tok::comma)) {
957 if (!TryConsumeToken(tok::comma)) {
961 Diag(Tok, diag::err_expected) << tok::comma;
1155 if (ExpectAndConsume(tok::comma)) {
1169 while (TryConsumeToken(tok::comma)) {
1415 case tok::comma:
1461 if (Tok.is(tok::comma) || Tok.is(tok::l_brace) || Tok.is(tok::kw_try)) {
1582 // where it would otherwise expect a comma or semicolon.
1635 // If we don't have a comma, it is either the end of the list (a ';') or an
1638 while (TryConsumeToken(tok::comma, CommaLoc)) {
1640 // This comma was followed by a line-break and something which can't be
1641 // the start of a declarator. The comma was probably a typo for a
1854 StopTokens.push_back(tok::comma);
2007 T.is(tok::semi) || T.is(tok::comma) || T.is(tok::equal) ||
2153 case tok::comma:
3276 // If we don't have a comma, it is either the end of the list (a ';')
3278 if (!TryConsumeToken(tok::comma, CommaLoc))
3357 // Parse all the comma separated declarators.
3514 // Skip the rest of this declarator, up until the comma or semicolon.
3515 SkipUntil(tok::comma, StopAtSemi);
3526 // Skip the rest of this declarator, up until the comma or semicolon.
3527 SkipUntil(tok::comma, StopAtSemi);
3675 // Skip the rest of this declarator, up until the comma or semicolon.
3677 SkipUntil(tok::comma, StopAtSemi);
3699 // Skip the rest of this declarator, up until the comma or semicolon.
3700 SkipUntil(tok::comma, StopAtSemi);
3794 if (SkipUntil(tok::comma, tok::r_brace, StopBeforeMatch) &&
3795 TryConsumeToken(tok::comma))
3815 SkipUntil(tok::comma, tok::r_brace, StopBeforeMatch);
3830 // We're missing a comma between enumerators.
3837 // Emumerator definition must be finished, only comma or r_brace are
3840 if (Tok.isNot(tok::r_brace) && !TryConsumeToken(tok::comma, CommaLoc)) {
3843 << tok::comma;
3846 if (SkipUntil(tok::comma, tok::r_brace, StopBeforeMatch)) {
3847 if (TryConsumeToken(tok::comma, CommaLoc))
3854 // If comma is followed by r_brace, emit appropriate warning.
4742 // of a parameter-declaration-clause without a preceding comma. In
5243 && (NextToken().is(tok::comma) || NextToken().is(tok::r_paren));
5296 // The list continues if we see a comma.
5297 } while (TryConsumeToken(tok::comma));
5445 SkipUntil(tok::comma, tok::r_paren, StopAtSemi | StopBeforeMatch);
5468 // If the next token is a comma, consume it and keep reading arguments.
5469 } while (TryConsumeToken(tok::comma));