Lines Matching refs:ExpectAndConsume
174 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, in ParseGNUAttributes()
179 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, "(")) { in ParseGNUAttributes()
239 if (ExpectAndConsume(tok::r_paren)) in ParseGNUAttributes()
242 if (ExpectAndConsume(tok::r_paren)) in ParseGNUAttributes()
481 if (!ExpectAndConsume(tok::r_paren)) { in ParseAttributeArgsCommon()
1127 if (ExpectAndConsume(tok::comma)) { in ParseAvailabilityAttribute()
1372 if (ExpectAndConsume(tok::equal, diag::err_expected_after, in ParseExternalSourceSymbolAttribute()
1452 if (ExpectAndConsume(tok::comma)) { in ParseObjCBridgeRelatedAttribute()
1563 if (ExpectAndConsume(tok::comma)) { in ParseTypeTagForDatatypeAttribute()
4504 ExpectAndConsume(tok::l_paren); in ParseStructUnionBody()
4514 ExpectAndConsume(tok::r_paren); in ParseStructUnionBody()
4521 ExpectAndConsume(tok::semi, diag::ext_expected_semi_decl_list); in ParseStructUnionBody()
4525 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list); in ParseStructUnionBody()
4792 ExpectAndConsume(tok::semi, diag::err_expected_after, "enum"); in ParseEnumSpecifier()
5088 ExpectAndConsume(tok::semi, diag::err_expected_after, "enum"); in ParseEnumBody()