Lines Matching refs:expectAndConsume
121 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after,
126 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, "(")) {
170 if (ExpectAndConsume(tok::r_paren, diag::err_expected_rparen))
173 if (ExpectAndConsume(tok::r_paren, diag::err_expected_rparen)) {
282 if (!ExpectAndConsume(tok::less, diag::err_expected_less_after, "<",
309 if (!ExpectAndConsume(tok::r_paren, diag::err_expected_rparen) &&
333 if (T.expectAndConsume(diag::err_expected_lparen_after,
405 if (T.expectAndConsume(diag::err_expected_lparen_after,
437 if (T.expectAndConsume(diag::err_expected_lparen_after, "__declspec",
723 if (ExpectAndConsume(tok::comma, diag::err_expected_comma, "", tok::r_paren))
2139 if (T.expectAndConsume(diag::err_expected_lparen))
3118 ExpectAndConsume(tok::l_paren, diag::err_expected_lparen);
3129 ExpectAndConsume(tok::r_paren, diag::err_expected_rparen);
3135 ExpectAndConsume(tok::semi, diag::ext_expected_semi_decl_list);
3138 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list);
3406 ExpectAndConsume(tok::semi, diag::err_expected_semi_after_tagdecl,
3613 ExpectAndConsume(tok::semi, diag::err_expected_semi_after_tagdecl, "enum");
5357 if (T.expectAndConsume(diag::err_expected_lparen_after, "_Atomic")) {