Lines Matching refs:ExpectAndConsume
159 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@class")) in ParseObjCAtClassDeclaration()
788 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list); in ParseObjCInterfaceDeclList()
904 if (ExpectAndConsume(tok::equal, DiagID)) { in ParseObjCPropertyAttribute()
931 if (ExpectAndConsume(tok::colon, in ParseObjCPropertyAttribute()
1421 if (ExpectAndConsume(tok::colon)) in ParseObjCMethodDecl()
2076 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@protocol")) in ParseObjCAtProtocolDeclaration()
2322 ExpectAndConsume(tok::semi, diag::err_expected_after, "@compatibility_alias"); in ParseObjCAtAliasDeclaration()
2383 ExpectAndConsume(tok::semi, diag::err_expected_after, "@synthesize"); in ParseObjCPropertySynthesize()
2448 ExpectAndConsume(tok::semi, diag::err_expected_after, "@dynamic"); in ParseObjCPropertyDynamic()
2466 ExpectAndConsume(tok::semi, diag::err_expected_after, "@throw"); in ParseObjCThrowStmt()
3190 if (ExpectAndConsume(tok::colon)) { in ParseObjCMessageExpressionBody()
3465 if (ExpectAndConsume(tok::colon)) { in ParseObjCDictionaryLiteral()
3588 } else if (ExpectAndConsume(tok::colon)) // Otherwise expect ':'. in ParseObjCSelectorExpression()