Lines Matching refs:ExpectAndConsume
156 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@class")) in ParseObjCAtClassDeclaration()
772 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list); in ParseObjCInterfaceDeclList()
889 if (ExpectAndConsume(tok::equal, DiagID)) { in ParseObjCPropertyAttribute()
916 if (ExpectAndConsume(tok::colon, in ParseObjCPropertyAttribute()
1404 if (ExpectAndConsume(tok::colon)) in ParseObjCMethodDecl()
2063 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@protocol")) in ParseObjCAtProtocolDeclaration()
2293 ExpectAndConsume(tok::semi, diag::err_expected_after, "@compatibility_alias"); in ParseObjCAtAliasDeclaration()
2352 ExpectAndConsume(tok::semi, diag::err_expected_after, "@synthesize"); in ParseObjCPropertySynthesize()
2416 ExpectAndConsume(tok::semi, diag::err_expected_after, "@dynamic"); in ParseObjCPropertyDynamic()
2434 ExpectAndConsume(tok::semi, diag::err_expected_after, "@throw"); in ParseObjCThrowStmt()
3182 if (ExpectAndConsume(tok::colon)) { in ParseObjCMessageExpressionBody()
3467 if (ExpectAndConsume(tok::colon)) { in ParseObjCDictionaryLiteral()
3601 } else if (ExpectAndConsume(tok::colon)) // Otherwise expect ':'. in ParseObjCSelectorExpression()