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()
1085 case tok::semi: // struct foo {...} ; in isValidAfterTypeSpecifier()
1451 SkipUntil(tok::semi, StopBeforeMatch); in ParseClassSpecifier()
1500 SkipUntil(tok::semi, StopBeforeMatch); in ParseClassSpecifier()
1538 (Tok.is(tok::semi) || in ParseClassSpecifier()
1541 if (Tok.isNot(tok::semi)) { in ParseClassSpecifier()
1544 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseClassSpecifier()
1547 Tok.setKind(tok::semi); in ParseClassSpecifier()
1594 SkipUntil(tok::semi, StopBeforeMatch); in ParseClassSpecifier()
1816 if (Tok.isNot(tok::semi)) { in ParseClassSpecifier()
1818 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseClassSpecifier()
1824 Tok.setKind(tok::semi); in ParseClassSpecifier()
2293 isAccessDecl = GetLookAheadToken(2).is(tok::semi); in ParseCXXClassMemberDeclaration()
2304 SkipUntil(tok::semi); in ParseCXXClassMemberDeclaration()
2313 SkipUntil(tok::semi); in ParseCXXClassMemberDeclaration()
2318 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseCXXClassMemberDeclaration()
2320 SkipUntil(tok::semi); in ParseCXXClassMemberDeclaration()
2378 SkipUntil(tok::semi, StopBeforeMatch); in ParseCXXClassMemberDeclaration()
2416 if (TryConsumeToken(tok::semi)) { in ParseCXXClassMemberDeclaration()
2451 if (!After.isOneOf(tok::semi, tok::comma) && in ParseCXXClassMemberDeclaration()
2468 TryConsumeToken(tok::semi); in ParseCXXClassMemberDeclaration()
2516 TryConsumeToken(tok::semi); in ParseCXXClassMemberDeclaration()
2544 if (Tok.is(tok::semi)) in ParseCXXClassMemberDeclaration()
2716 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list)) { in ParseCXXClassMemberDeclaration()
2720 TryConsumeToken(tok::semi); in ParseCXXClassMemberDeclaration()
2763 if (IsFunction || Next.isOneOf(tok::semi, tok::comma, tok::eof)) { in ParseCXXMemberInitializer()
2852 if (Tok.is(tok::semi)) { in ParseCXXClassMemberDeclarationWithPragmas()
2905 } else if (TryConsumeToken(tok::semi, EndLoc)) { in ParseCXXClassMemberDeclarationWithPragmas()
3169 Tok.setKind(tok::semi); in DiagnoseUnexpectedNamespace()
3975 if (Tok.is(tok::semi)) { in ParseMicrosoftIfExistsClassDeclaration()