Lines Matching refs:ExpectAndConsume
157 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@class")) in ParseObjCAtClassDeclaration()
775 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list); in ParseObjCInterfaceDeclList()
894 if (ExpectAndConsume(tok::equal, DiagID)) { in ParseObjCPropertyAttribute()
922 if (ExpectAndConsume(tok::colon, in ParseObjCPropertyAttribute()
1409 if (ExpectAndConsume(tok::colon)) in ParseObjCMethodDecl()
2067 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@protocol")) in ParseObjCAtProtocolDeclaration()
2297 ExpectAndConsume(tok::semi, diag::err_expected_after, "@compatibility_alias"); in ParseObjCAtAliasDeclaration()
2356 ExpectAndConsume(tok::semi, diag::err_expected_after, "@synthesize"); in ParseObjCPropertySynthesize()
2420 ExpectAndConsume(tok::semi, diag::err_expected_after, "@dynamic"); in ParseObjCPropertyDynamic()
2438 ExpectAndConsume(tok::semi, diag::err_expected_after, "@throw"); in ParseObjCThrowStmt()
3187 if (ExpectAndConsume(tok::colon)) { in ParseObjCMessageExpressionBody()
3472 if (ExpectAndConsume(tok::colon)) { in ParseObjCDictionaryLiteral()
3606 } else if (ExpectAndConsume(tok::colon)) // Otherwise expect ':'. in ParseObjCSelectorExpression()