reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Parse/Parser.h
  970   bool ExpectAndConsume(tok::TokenKind ExpectedTok,

References

tools/clang/lib/Parse/ParseCXXInlineMethods.cpp
   93     } else if (ExpectAndConsume(tok::semi, diag::err_expected_after,
tools/clang/lib/Parse/ParseDecl.cpp
  157     if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after,
  162     if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, "(")) {
  217     if (ExpectAndConsume(tok::r_paren))
  220     if (ExpectAndConsume(tok::r_paren))
  409   if (!ExpectAndConsume(tok::r_paren)) {
 1030   if (ExpectAndConsume(tok::comma)) {
 1275     if (ExpectAndConsume(tok::equal, diag::err_expected_after,
 1358   if (ExpectAndConsume(tok::comma)) {
 1579   if (ExpectAndConsume(tok::comma)) {
 4206       ExpectAndConsume(tok::l_paren);
 4217       ExpectAndConsume(tok::r_paren);
 4224       ExpectAndConsume(tok::semi, diag::ext_expected_semi_decl_list);
 4228     ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list);
 4489       ExpectAndConsume(tok::semi, diag::err_expected_after, "enum");
 4766     ExpectAndConsume(tok::semi, diag::err_expected_after, "enum");
tools/clang/lib/Parse/ParseDeclCXX.cpp
  319   if (ExpectAndConsume(tok::semi, diag::err_expected_semi_after_namespace_name))
  571   if (ExpectAndConsume(tok::semi,
  769   if (ExpectAndConsume(tok::semi, diag::err_expected_after,
  781   if (ExpectAndConsume(tok::equal)) {
  841   if (ExpectAndConsume(tok::semi, diag::err_expected_after,
  898     if (ExpectAndConsume(tok::comma)) {
 1742       ExpectAndConsume(tok::semi, diag::err_expected_after,
 2016       ExpectAndConsume(tok::semi, diag::err_expected_after,
 2518       if (ExpectAndConsume(tok::semi, diag::err_expected_after,
 2925       ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list)) {
 4139   if (ExpectAndConsume(tok::r_square))
 4143   if (ExpectAndConsume(tok::r_square))
tools/clang/lib/Parse/ParseExpr.cpp
 1659           if (ExpectAndConsume(tok::l_paren))
 2122     if (ExpectAndConsume(tok::comma)) {
 2148     if (ExpectAndConsume(tok::comma)) {
 2226     if (ExpectAndConsume(tok::comma)) {
 2236     if (ExpectAndConsume(tok::comma)) {
 2262     if (ExpectAndConsume(tok::comma)) {
 2291     if (ExpectAndConsume(tok::comma)) {
 2766   if (ExpectAndConsume(tok::comma)) {
 2798     if (ExpectAndConsume(tok::colon)) {
tools/clang/lib/Parse/ParseExprCXX.cpp
 1511   if (ExpectAndConsume(tok::less, diag::err_expected_less_after, CastName))
 1524   if (ExpectAndConsume(tok::greater))
 3361     if (ExpectAndConsume(tok::comma)) {
 3569   if (ExpectAndConsume(tok::comma)) {
tools/clang/lib/Parse/ParseObjc.cpp
  156   if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@class"))
  772       ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list);
  888       if (ExpectAndConsume(tok::equal, DiagID)) {
  915         if (ExpectAndConsume(tok::colon,
 1401     if (ExpectAndConsume(tok::colon))
 2060     if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@protocol"))
 2290   ExpectAndConsume(tok::semi, diag::err_expected_after, "@compatibility_alias");
 2349   ExpectAndConsume(tok::semi, diag::err_expected_after, "@synthesize");
 2413   ExpectAndConsume(tok::semi, diag::err_expected_after, "@dynamic");
 2431   ExpectAndConsume(tok::semi, diag::err_expected_after, "@throw");
 3179       if (ExpectAndConsume(tok::colon)) {
 3464     if (ExpectAndConsume(tok::colon)) {
 3598       } else if (ExpectAndConsume(tok::colon)) // Otherwise expect ':'.
tools/clang/lib/Parse/ParseOpenMP.cpp
  251   bool IsCorrect = !ExpectAndConsume(tok::colon);
  289     if (ExpectAndConsume(tok::comma)) {
  307   if (ExpectAndConsume(tok::colon))
  515     ExpectAndConsume(tok::colon);
  980       (void)ExpectAndConsume(tok::comma);
tools/clang/lib/Parse/ParsePragma.cpp
  946   if (ExpectAndConsume(tok::l_paren, diag::warn_pragma_expected_lparen,
  990   if (ExpectAndConsume(tok::r_paren, diag::warn_pragma_expected_rparen,
  992       ExpectAndConsume(tok::eof, diag::warn_pragma_extra_tokens_at_eol,
 1437     if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after,
 1440     if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, "("))
 1460     if (ExpectAndConsume(tok::r_paren))
 1462     if (ExpectAndConsume(tok::r_paren))
tools/clang/lib/Parse/ParseStmt.cpp
  417     ExpectAndConsume(tok::semi, diag::err_expected_semi_after_stmt, SemiError);
  513   if (ExpectAndConsume(tok::l_paren))
  541   if (ExpectAndConsume(tok::r_paren))
tools/clang/lib/Parse/Parser.cpp
  174   return ExpectAndConsume(tok::semi, DiagID);
  813     ExpectAndConsume(tok::semi, diag::err_expected_after,
 1287     } else if (ExpectAndConsume(tok::semi, diag::err_expected_after,
 2460   if (P.ExpectAndConsume(Kind, DiagID, Msg)) {