Lines Matching refs:semi
125 SkipUntil(tok::semi); in ParseNamespace()
304 SkipUntil(tok::semi); in ParseNamespaceAlias()
311 SkipUntil(tok::semi); in ParseNamespaceAlias()
321 if (ExpectAndConsume(tok::semi, diag::err_expected_semi_after_namespace_name)) in ParseNamespaceAlias()
322 SkipUntil(tok::semi); in ParseNamespaceAlias()
550 SkipUntil(tok::semi); in ParseUsingDirective()
558 SkipUntil(tok::semi); in ParseUsingDirective()
575 if (ExpectAndConsume(tok::semi, in ParseUsingDirective()
578 SkipUntil(tok::semi); in ParseUsingDirective()
629 (NextToken().is(tok::semi) || NextToken().is(tok::comma) || in ParseUsingDeclarator()
693 SkipUntil(tok::semi); in ParseUsingDeclaration()
739 SkipUntil(tok::comma, tok::semi, StopBeforeMatch); in ParseUsingDeclaration()
774 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseUsingDeclaration()
777 SkipUntil(tok::semi); in ParseUsingDeclaration()
787 SkipUntil(tok::semi); in ParseAliasDeclarationAfterDeclarator()
813 SkipUntil(tok::semi); in ParseAliasDeclarationAfterDeclarator()
821 SkipUntil(tok::semi); in ParseAliasDeclarationAfterDeclarator()
846 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseAliasDeclarationAfterDeclarator()
849 SkipUntil(tok::semi); in ParseAliasDeclarationAfterDeclarator()
904 SkipUntil(tok::semi); in ParseStaticAssertDeclaration()
995 if (PP.isBacktrackEnabled() && Tok.is(tok::semi)) { in ParseDecltypeSpecifier()
1000 assert(Tok.is(tok::semi)); in ParseDecltypeSpecifier()
1264 case tok::semi: // struct foo {...} ; in isValidAfterTypeSpecifier()
1655 SkipUntil(tok::semi, StopBeforeMatch); in ParseClassSpecifier()
1706 SkipUntil(tok::semi, StopBeforeMatch); in ParseClassSpecifier()
1744 (Tok.is(tok::semi) || in ParseClassSpecifier()
1747 if (Tok.isNot(tok::semi)) { in ParseClassSpecifier()
1750 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseClassSpecifier()
1753 Tok.setKind(tok::semi); in ParseClassSpecifier()
1800 SkipUntil(tok::semi, StopBeforeMatch); in ParseClassSpecifier()
2024 if (Tok.isNot(tok::semi)) { in ParseClassSpecifier()
2026 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseClassSpecifier()
2032 Tok.setKind(tok::semi); in ParseClassSpecifier()
2518 isAccessDecl = GetLookAheadToken(2).is(tok::semi); in ParseCXXClassMemberDeclaration()
2530 SkipUntil(tok::semi); in ParseCXXClassMemberDeclaration()
2540 SkipUntil(tok::semi); in ParseCXXClassMemberDeclaration()
2545 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseCXXClassMemberDeclaration()
2547 SkipUntil(tok::semi); in ParseCXXClassMemberDeclaration()
2614 SkipUntil(tok::semi, StopBeforeMatch); in ParseCXXClassMemberDeclaration()
2652 if (TryConsumeToken(tok::semi)) { in ParseCXXClassMemberDeclaration()
2689 if (!After.isOneOf(tok::semi, tok::comma) && in ParseCXXClassMemberDeclaration()
2707 TryConsumeToken(tok::semi); in ParseCXXClassMemberDeclaration()
2761 TryConsumeToken(tok::semi); in ParseCXXClassMemberDeclaration()
2789 if (Tok.is(tok::semi)) in ParseCXXClassMemberDeclaration()
2970 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list)) { in ParseCXXClassMemberDeclaration()
2974 TryConsumeToken(tok::semi); in ParseCXXClassMemberDeclaration()
3016 if (IsFunction || Next.isOneOf(tok::semi, tok::comma, tok::eof)) { in ParseCXXMemberInitializer()
3107 case tok::semi: in ParseCXXClassMemberDeclarationWithPragmas()
3160 } else if (TryConsumeToken(tok::semi, EndLoc)) { in ParseCXXClassMemberDeclarationWithPragmas()
3453 Tok.setKind(tok::semi); in DiagnoseUnexpectedNamespace()
4488 if (Tok.is(tok::semi)) { in ParseMicrosoftIfExistsClassDeclaration()