Lines Matching refs:ExpectAndConsume
174 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@class")) in ParseObjCAtClassDeclaration()
809 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list); in ParseObjCInterfaceDeclList()
928 if (ExpectAndConsume(tok::equal, DiagID)) { in ParseObjCPropertyAttribute()
956 if (ExpectAndConsume(tok::colon, in ParseObjCPropertyAttribute()
1447 if (ExpectAndConsume(tok::colon)) in ParseObjCMethodDecl()
2106 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@protocol")) in ParseObjCAtProtocolDeclaration()
2350 ExpectAndConsume(tok::semi, diag::err_expected_after, "@compatibility_alias"); in ParseObjCAtAliasDeclaration()
2409 ExpectAndConsume(tok::semi, diag::err_expected_after, "@synthesize"); in ParseObjCPropertySynthesize()
2473 ExpectAndConsume(tok::semi, diag::err_expected_after, "@dynamic"); in ParseObjCPropertyDynamic()
2491 ExpectAndConsume(tok::semi, diag::err_expected_after, "@throw"); in ParseObjCThrowStmt()
3242 if (ExpectAndConsume(tok::colon)) { in ParseObjCMessageExpressionBody()
3527 if (ExpectAndConsume(tok::colon)) { in ParseObjCDictionaryLiteral()
3660 } else if (ExpectAndConsume(tok::colon)) // Otherwise expect ':'. in ParseObjCSelectorExpression()