Lines Matching refs:expectAndConsume
143 /// ExpectAndConsume - The parser expects that 'ExpectedTok' is next in the
149 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID,
201 return ExpectAndConsume(tok::semi, DiagID);
654 ExpectAndConsume(tok::semi, diag::err_expected_semi_after,
1065 ExpectAndConsume(tok::semi, diag::err_expected_semi_after,
1884 bool BalancedDelimiterTracker::expectAndConsume(unsigned DiagID,
1888 if (P.ExpectAndConsume(Kind, DiagID, Msg, SkipToToc))