Lines Matching refs:ExpectAndConsume
132 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, in ParseGNUAttributes()
137 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, "(")) { in ParseGNUAttributes()
188 if (ExpectAndConsume(tok::r_paren)) in ParseGNUAttributes()
191 if (ExpectAndConsume(tok::r_paren)) in ParseGNUAttributes()
321 if (!ExpectAndConsume(tok::r_paren)) { in ParseAttributeArgsCommon()
892 if (ExpectAndConsume(tok::comma)) { in ParseAvailabilityAttribute()
1092 if (ExpectAndConsume(tok::comma)) { in ParseObjCBridgeRelatedAttribute()
1309 if (ExpectAndConsume(tok::comma)) { in ParseTypeTagForDatatypeAttribute()
3736 ExpectAndConsume(tok::l_paren); in ParseStructUnionBody()
3747 ExpectAndConsume(tok::r_paren); in ParseStructUnionBody()
3754 ExpectAndConsume(tok::semi, diag::ext_expected_semi_decl_list); in ParseStructUnionBody()
3758 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list); in ParseStructUnionBody()
4024 ExpectAndConsume(tok::semi, diag::err_expected_after, "enum"); in ParseEnumSpecifier()
4293 ExpectAndConsume(tok::semi, diag::err_expected_after, "enum"); in ParseEnumBody()