Lines Matching refs:semi
111 SkipUntil(tok::semi); in ParseNamespace()
275 SkipUntil(tok::semi); in ParseNamespaceAlias()
285 if (ExpectAndConsume(tok::semi, diag::err_expected_semi_after_namespace_name)) in ParseNamespaceAlias()
286 SkipUntil(tok::semi); in ParseNamespaceAlias()
454 SkipUntil(tok::semi); in ParseUsingDirective()
472 if (ExpectAndConsume(tok::semi, in ParseUsingDirective()
475 SkipUntil(tok::semi); in ParseUsingDirective()
514 SkipUntil(tok::semi); in ParseUsingDeclaration()
527 SkipUntil(tok::semi); in ParseUsingDeclaration()
545 Tok.is(tok::identifier) && NextToken().is(tok::semi) && in ParseUsingDeclaration()
558 SkipUntil(tok::semi); in ParseUsingDeclaration()
606 SkipUntil(tok::semi); in ParseUsingDeclaration()
614 SkipUntil(tok::semi); in ParseUsingDeclaration()
642 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseUsingDeclaration()
646 SkipUntil(tok::semi); in ParseUsingDeclaration()
729 SkipUntil(tok::semi); in ParseStaticAssertDeclaration()
819 if (PP.isBacktrackEnabled() && Tok.is(tok::semi)) { in ParseDecltypeSpecifier()
824 assert(Tok.is(tok::semi)); in ParseDecltypeSpecifier()
1086 case tok::semi: // struct foo {...} ; in isValidAfterTypeSpecifier()
1436 SkipUntil(tok::semi, StopBeforeMatch); in ParseClassSpecifier()
1485 SkipUntil(tok::semi, StopBeforeMatch); in ParseClassSpecifier()
1523 (Tok.is(tok::semi) || in ParseClassSpecifier()
1526 if (Tok.isNot(tok::semi)) { in ParseClassSpecifier()
1529 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseClassSpecifier()
1532 Tok.setKind(tok::semi); in ParseClassSpecifier()
1579 SkipUntil(tok::semi, StopBeforeMatch); in ParseClassSpecifier()
1801 if (Tok.isNot(tok::semi)) { in ParseClassSpecifier()
1803 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseClassSpecifier()
1809 Tok.setKind(tok::semi); in ParseClassSpecifier()
2278 isAccessDecl = GetLookAheadToken(2).is(tok::semi); in ParseCXXClassMemberDeclaration()
2289 SkipUntil(tok::semi); in ParseCXXClassMemberDeclaration()
2298 SkipUntil(tok::semi); in ParseCXXClassMemberDeclaration()
2303 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseCXXClassMemberDeclaration()
2305 SkipUntil(tok::semi); in ParseCXXClassMemberDeclaration()
2363 SkipUntil(tok::semi, StopBeforeMatch); in ParseCXXClassMemberDeclaration()
2401 if (TryConsumeToken(tok::semi)) { in ParseCXXClassMemberDeclaration()
2431 if (!After.isOneOf(tok::semi, tok::comma) && in ParseCXXClassMemberDeclaration()
2448 TryConsumeToken(tok::semi); in ParseCXXClassMemberDeclaration()
2496 TryConsumeToken(tok::semi); in ParseCXXClassMemberDeclaration()
2524 if (Tok.is(tok::semi)) in ParseCXXClassMemberDeclaration()
2696 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list)) { in ParseCXXClassMemberDeclaration()
2700 TryConsumeToken(tok::semi); in ParseCXXClassMemberDeclaration()
2743 if (IsFunction || Next.isOneOf(tok::semi, tok::comma, tok::eof)) { in ParseCXXMemberInitializer()
2832 if (Tok.is(tok::semi)) { in ParseCXXClassMemberDeclarationWithPragmas()
2885 } else if (TryConsumeToken(tok::semi, EndLoc)) { in ParseCXXClassMemberDeclarationWithPragmas()
3148 Tok.setKind(tok::semi); in DiagnoseUnexpectedNamespace()
3918 if (Tok.is(tok::semi)) { in ParseMicrosoftIfExistsClassDeclaration()