Lines Matching refs:ExpectAndConsume
321 if (ExpectAndConsume(tok::semi, diag::err_expected_semi_after_namespace_name)) in ParseNamespaceAlias()
571 if (ExpectAndConsume(tok::semi, in ParseUsingDirective()
705 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseUsingDeclaration()
808 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseUsingDeclaration()
821 if (ExpectAndConsume(tok::equal)) { in ParseAliasDeclarationAfterDeclarator()
881 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseAliasDeclarationAfterDeclarator()
958 if (ExpectAndConsume(tok::comma)) { in ParseStaticAssertDeclaration()
1807 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseClassSpecifier()
2087 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseClassSpecifier()
2623 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseCXXClassMemberDeclaration()
3058 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list)) { in ParseCXXClassMemberDeclaration()
4188 if (Ident && Ident->isStr("omp") && !ExpectAndConsume(tok::coloncolon)) in ParseOpenMPAttributeArgs()
4390 if (ExpectAndConsume(tok::comma)) { in ParseCXX11AttributeSpecifierInternal()
4459 if (ExpectAndConsume(tok::r_square)) in ParseCXX11AttributeSpecifierInternal()
4465 if (ExpectAndConsume(tok::r_square)) in ParseCXX11AttributeSpecifierInternal()