Lines Matching refs:semi
1560 if (Tok.is(tok::semi)) { in ParseSimpleDeclaration()
1623 case tok::semi: in MightBeDeclarator()
1660 TryConsumeToken(tok::semi); in SkipMalformedDecl()
1676 case tok::semi: in SkipMalformedDecl()
1762 Fixit &= Tok.isOneOf(tok::semi, tok::l_brace, tok::kw_try); in ParseDeclGroup()
1804 SkipUntil(tok::semi); in ParseDeclGroup()
1906 TryConsumeToken(tok::semi); in ParseDeclGroup()
1921 SkipUntil(tok::semi, StopBeforeMatch); in ParseAsmAttributesAfterDeclarator()
1984 if (Tok.is(tok::semi)) { in ParseDeclarationAfterDeclaratorAndAttributes()
1988 SkipUntil(tok::semi, StopBeforeMatch); in ParseDeclarationAfterDeclaratorAndAttributes()
2233 return T.isOneOf(tok::l_square, tok::l_paren, tok::r_paren, tok::semi, in isValidAfterIdentifierInDeclarator()
2402 case tok::semi: in ParseImplicitInt()
2631 << DeclSpec::getSpecifierName(DS.getTypeSpecType(), PPol) << tok::semi; in DiagnoseMissingSemiAfterTagDefinition()
3601 if (Tok.is(tok::semi)) { in ParseStructDeclaration()
3633 SkipUntil(tok::semi, StopBeforeMatch); in ParseStructDeclaration()
3684 if (Tok.is(tok::semi)) { in ParseStructUnionBody()
3732 SkipUntil(tok::semi); in ParseStructUnionBody()
3739 SkipUntil(tok::semi); in ParseStructUnionBody()
3750 if (TryConsumeToken(tok::semi)) 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()
3762 TryConsumeToken(tok::semi); in ParseStructUnionBody()
3945 GetLookAheadToken(2).getKind() == tok::semi) { in ParseEnumSpecifier()
4018 (Tok.is(tok::semi) || in ParseEnumSpecifier()
4022 if (Tok.isNot(tok::semi)) { in ParseEnumSpecifier()
4024 ExpectAndConsume(tok::semi, diag::err_expected_after, "enum"); in ParseEnumSpecifier()
4026 Tok.setKind(tok::semi); in ParseEnumSpecifier()
4293 ExpectAndConsume(tok::semi, diag::err_expected_after, "enum"); in ParseEnumBody()
4298 Tok.setKind(tok::semi); in ParseEnumBody()
4748 if (NextToken().is(tok::semi) || NextToken().is(tok::l_brace)) { in isConstructorDeclarator()
4849 IdentifierRequired && DS.isEmpty() && NextToken().is(tok::semi)) { in ParseTypeQualifierListOpt()
6181 if (Tok.is(tok::semi)) in ParseMisplacedBracketDeclarator()