Searched refs:ExpectAndConsume (Results 1 - 9 of 9) sorted by relevance

/external/clang/lib/Parse/
H A DParseObjc.cpp123 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@class"))
521 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list);
614 if (ExpectAndConsume(tok::equal, DiagID)) {
642 if (ExpectAndConsume(tok::colon,
1063 if (ExpectAndConsume(tok::colon))
1451 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@protocol"))
1671 ExpectAndConsume(tok::semi, diag::err_expected_after, "@compatibility_alias");
1730 ExpectAndConsume(tok::semi, diag::err_expected_after, "@synthesize");
1767 ExpectAndConsume(tok::semi, diag::err_expected_after, "@dynamic");
1785 ExpectAndConsume(to
[all...]
H A DParseExpr.cpp1299 if (ExpectAndConsume(tok::l_paren))
1701 if (ExpectAndConsume(tok::comma)) {
1727 if (ExpectAndConsume(tok::comma)) {
1805 if (ExpectAndConsume(tok::comma)) {
1815 if (ExpectAndConsume(tok::comma)) {
1841 if (ExpectAndConsume(tok::comma)) {
1870 if (ExpectAndConsume(tok::comma)) {
2227 if (ExpectAndConsume(tok::comma)) {
2259 if (ExpectAndConsume(tok::colon)) {
H A DParser.cpp111 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, function in class:Parser
176 return ExpectAndConsume(tok::semi, DiagID);
665 ExpectAndConsume(tok::semi, diag::err_expected_after,
1069 } else if (ExpectAndConsume(tok::semi, diag::err_expected_after,
1948 if (P.ExpectAndConsume(Kind, DiagID, Msg)) {
H A DParseDeclCXX.cpp269 if (ExpectAndConsume(tok::semi, diag::err_expected_semi_after_namespace_name))
456 if (ExpectAndConsume(tok::semi,
615 if (ExpectAndConsume(tok::semi, diag::err_expected_after,
701 if (ExpectAndConsume(tok::comma)) {
1413 ExpectAndConsume(tok::semi, diag::err_expected_after,
1675 ExpectAndConsume(tok::semi, diag::err_expected_after,
2049 if (ExpectAndConsume(tok::semi, diag::err_expected_after,
2423 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list)) {
3375 if (ExpectAndConsume(tok::r_square))
3379 if (ExpectAndConsume(to
[all...]
H A DParseDecl.cpp130 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after,
135 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, "(")) {
184 if (ExpectAndConsume(tok::r_paren))
187 if (ExpectAndConsume(tok::r_paren))
313 if (!ExpectAndConsume(tok::r_paren)) {
787 if (ExpectAndConsume(tok::comma)) {
942 if (ExpectAndConsume(tok::comma)) {
1155 if (ExpectAndConsume(tok::comma)) {
3368 ExpectAndConsume(tok::l_paren);
3379 ExpectAndConsume(to
[all...]
H A DParseStmt.cpp368 // ExpectAndConsume to emit the diagnostic, even though we know it won't
370 ExpectAndConsume(tok::semi, diag::err_expected_semi_after_stmt, SemiError);
466 if (ExpectAndConsume(tok::l_paren))
487 if (ExpectAndConsume(tok::r_paren))
H A DParseExprCXX.cpp1225 if (ExpectAndConsume(tok::less, diag::err_expected_less_after, CastName))
1238 if (ExpectAndConsume(tok::greater))
2868 if (ExpectAndConsume(tok::comma)) {
H A DParseCXXInlineMethods.cpp93 } else if (ExpectAndConsume(tok::semi, diag::err_expected_after,
/external/clang/include/clang/Parse/
H A DParser.h717 /// ExpectAndConsume - The parser expects that 'ExpectedTok' is next in the
725 bool ExpectAndConsume(tok::TokenKind ExpectedTok,

Completed in 355 milliseconds