Lines Matching refs:expectAndConsume
298 // ExpectAndConsume to emit the diagnostic, even though we know it won't
300 ExpectAndConsume(tok::semi, diag::err_expected_semi_after_stmt, SemiError);
395 if(ExpectAndConsume(tok::l_paren,diag::err_expected_lparen))
416 if(ExpectAndConsume(tok::r_paren,diag::err_expected_rparen))
2165 if (T.expectAndConsume(diag::err_expected_lparen))