Lines Matching refs:ExpectAndConsume
154 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@class")) in ParseObjCAtClassDeclaration()
802 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list); in ParseObjCInterfaceDeclList()
917 if (ExpectAndConsume(tok::equal, DiagID)) { in ParseObjCPropertyAttribute()
944 if (ExpectAndConsume(tok::colon, in ParseObjCPropertyAttribute()
1433 if (ExpectAndConsume(tok::colon)) in ParseObjCMethodDecl()
2052 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@protocol")) in ParseObjCAtProtocolDeclaration()
2298 ExpectAndConsume(tok::semi, diag::err_expected_after, "@compatibility_alias"); in ParseObjCAtAliasDeclaration()
2357 ExpectAndConsume(tok::semi, diag::err_expected_after, "@synthesize"); in ParseObjCPropertySynthesize()
2394 ExpectAndConsume(tok::semi, diag::err_expected_after, "@dynamic"); in ParseObjCPropertyDynamic()
2412 ExpectAndConsume(tok::semi, diag::err_expected_after, "@throw"); in ParseObjCThrowStmt()
3132 if (ExpectAndConsume(tok::colon)) { in ParseObjCMessageExpressionBody()
3408 if (ExpectAndConsume(tok::colon)) { in ParseObjCDictionaryLiteral()
3531 } else if (ExpectAndConsume(tok::colon)) // Otherwise expect ':'. in ParseObjCSelectorExpression()