Lines Matching refs:ExpectAndConsume
202 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, in ParseGNUAttributes()
207 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, "(")) { in ParseGNUAttributes()
286 if (ExpectAndConsume(tok::r_paren)) in ParseGNUAttributes()
289 if (ExpectAndConsume(tok::r_paren)) in ParseGNUAttributes()
649 if (!ExpectAndConsume(tok::r_paren)) { in ParseAttributeArgsCommon()
1340 if (ExpectAndConsume(tok::comma)) { in ParseAvailabilityAttribute()
1591 if (ExpectAndConsume(tok::equal, diag::err_expected_after, in ParseExternalSourceSymbolAttribute()
1685 if (ExpectAndConsume(tok::comma)) { in ParseObjCBridgeRelatedAttribute()
1793 if (ExpectAndConsume(tok::comma)) { in ParseTypeTagForDatatypeAttribute()
5159 ExpectAndConsume(tok::l_paren); in ParseStructUnionBody()
5169 ExpectAndConsume(tok::r_paren); in ParseStructUnionBody()
5176 ExpectAndConsume(tok::semi, diag::ext_expected_semi_decl_list); in ParseStructUnionBody()
5180 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list); in ParseStructUnionBody()
5456 ExpectAndConsume(tok::semi, diag::err_expected_after, "enum"); in ParseEnumSpecifier()
5756 ExpectAndConsume(tok::semi, diag::err_expected_after, "enum"); in ParseEnumBody()