Lines Matching refs:ExpectAndConsume
157 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@class")) in ParseObjCAtClassDeclaration()
764 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list); in ParseObjCInterfaceDeclList()
880 if (ExpectAndConsume(tok::equal, DiagID)) { in ParseObjCPropertyAttribute()
907 if (ExpectAndConsume(tok::colon, in ParseObjCPropertyAttribute()
1393 if (ExpectAndConsume(tok::colon)) in ParseObjCMethodDecl()
2042 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@protocol")) in ParseObjCAtProtocolDeclaration()
2273 ExpectAndConsume(tok::semi, diag::err_expected_after, "@compatibility_alias"); in ParseObjCAtAliasDeclaration()
2332 ExpectAndConsume(tok::semi, diag::err_expected_after, "@synthesize"); in ParseObjCPropertySynthesize()
2396 ExpectAndConsume(tok::semi, diag::err_expected_after, "@dynamic"); in ParseObjCPropertyDynamic()
2414 ExpectAndConsume(tok::semi, diag::err_expected_after, "@throw"); in ParseObjCThrowStmt()
3161 if (ExpectAndConsume(tok::colon)) { in ParseObjCMessageExpressionBody()
3446 if (ExpectAndConsume(tok::colon)) { in ParseObjCDictionaryLiteral()
3580 } else if (ExpectAndConsume(tok::colon)) // Otherwise expect ':'. in ParseObjCSelectorExpression()