Home | History | Annotate | Download | only in Parse

Lines Matching refs:ExpectAndConsume

132 /// ExpectAndConsume - The parser expects that 'ExpectedTok' is next in the
138 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID,
190 return ExpectAndConsume(tok::semi, DiagID);
565 ExpectAndConsume(tok::semi, diag::err_expected_semi_after,
944 ExpectAndConsume(tok::semi, diag::err_expected_semi_after,
1575 bool Parser::BalancedDelimiterTracker::expectAndConsume(unsigned DiagID,
1579 if (!P.ExpectAndConsume(Kind, DiagID, Msg, SkipToToc)) {