Lines Matching refs:r_paren
134 SkipUntil(tok::r_paren, StopAtSemi); // skip until ) or ; in ParseGNUAttributes()
138 SkipUntil(tok::r_paren, StopAtSemi); // skip until ) or ; in ParseGNUAttributes()
180 ConsumeAndStoreUntil(tok::r_paren, LA->Toks, true, false); in ParseGNUAttributes()
188 if (ExpectAndConsume(tok::r_paren)) in ParseGNUAttributes()
189 SkipUntil(tok::r_paren, StopAtSemi); in ParseGNUAttributes()
191 if (ExpectAndConsume(tok::r_paren)) in ParseGNUAttributes()
192 SkipUntil(tok::r_paren, StopAtSemi); in ParseGNUAttributes()
253 if (Tok.isNot(tok::r_paren)) in ParseAttributeWithTypeArg()
290 IsIdentifierArg = Next.isOneOf(tok::r_paren, tok::comma); in ParseAttributeArgsCommon()
297 if (!ArgExprs.empty() ? Tok.is(tok::comma) : Tok.isNot(tok::r_paren)) { in ParseAttributeArgsCommon()
312 SkipUntil(tok::r_paren, StopAtSemi); in ParseAttributeArgsCommon()
321 if (!ExpectAndConsume(tok::r_paren)) { in ParseAttributeArgsCommon()
395 SkipUntil(tok::r_paren); in ParseMicrosoftDeclSpecArgs()
408 AttrName->getNameStart(), tok::r_paren); in ParseMicrosoftDeclSpecArgs()
423 if (Tok.is(tok::r_paren) && !HasInvalidAccessor && in ParseMicrosoftDeclSpecArgs()
450 } else if (NextToken().is(tok::comma) || NextToken().is(tok::r_paren)) { in ParseMicrosoftDeclSpecArgs()
499 if (Tok.is(tok::r_paren)) in ParseMicrosoftDeclSpecArgs()
544 tok::r_paren)) in ParseMicrosoftDeclSpecs()
549 while (Tok.isNot(tok::r_paren)) { in ParseMicrosoftDeclSpecs()
727 SkipUntil(tok::comma, tok::r_paren, in ParseVersionTuple()
756 SkipUntil(tok::comma, tok::r_paren, in ParseVersionTuple()
777 SkipUntil(tok::comma, tok::r_paren, in ParseVersionTuple()
806 SkipUntil(tok::comma, tok::r_paren, in ParseVersionTuple()
825 SkipUntil(tok::comma, tok::r_paren, in ParseVersionTuple()
879 SkipUntil(tok::r_paren, StopAtSemi); in ParseAvailabilityAttribute()
893 SkipUntil(tok::r_paren, StopAtSemi); in ParseAvailabilityAttribute()
915 SkipUntil(tok::r_paren, StopAtSemi); in ParseAvailabilityAttribute()
941 SkipUntil(tok::r_paren, StopAtSemi); in ParseAvailabilityAttribute()
949 SkipUntil(tok::r_paren, StopAtSemi); in ParseAvailabilityAttribute()
963 SkipUntil(tok::r_paren, StopAtSemi); in ParseAvailabilityAttribute()
990 SkipUntil(tok::r_paren, StopAtSemi); in ParseAvailabilityAttribute()
1088 SkipUntil(tok::r_paren, StopAtSemi); in ParseObjCBridgeRelatedAttribute()
1093 SkipUntil(tok::r_paren, StopAtSemi); in ParseObjCBridgeRelatedAttribute()
1103 SkipUntil(tok::r_paren, StopAtSemi); in ParseObjCBridgeRelatedAttribute()
1112 SkipUntil(tok::r_paren, StopAtSemi); in ParseObjCBridgeRelatedAttribute()
1120 else if (Tok.isNot(tok::r_paren)) { in ParseObjCBridgeRelatedAttribute()
1121 Diag(Tok, diag::err_expected) << tok::r_paren; in ParseObjCBridgeRelatedAttribute()
1122 SkipUntil(tok::r_paren, StopAtSemi); in ParseObjCBridgeRelatedAttribute()
1621 case tok::r_paren: in MightBeDeclarator()
1670 SkipUntil(tok::r_paren); in SkipMalformedDecl()
2060 if (Tok.is(tok::r_paren) && FRI && D.isFirstDeclarator()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2080 StopTokens.push_back(tok::r_paren); in ParseDeclarationAfterDeclaratorAndAttributes()
2106 SkipUntil(tok::r_paren, StopAtSemi); in ParseDeclarationAfterDeclaratorAndAttributes()
2233 return T.isOneOf(tok::l_square, tok::l_paren, tok::r_paren, tok::semi, in isValidAfterIdentifierInDeclarator()
3747 ExpectAndConsume(tok::r_paren); in ParseStructUnionBody()
4684 if (Tok.is(tok::r_paren) || in isConstructorDeclarator()
4685 (Tok.is(tok::ellipsis) && NextToken().is(tok::r_paren))) { in isConstructorDeclarator()
4740 case tok::r_paren: in isConstructorDeclarator()
5246 NextToken().is(tok::r_paren) && in ParseDirectDeclarator()
5496 } else if (Tok.is(tok::r_paren) || // 'int()' is a function. in ParseParenDeclarator()
5498 NextToken().is(tok::r_paren)) || // C++ int(...) in ParseParenDeclarator()
5621 if (Tok.isNot(tok::r_paren)) in ParseFunctionDeclarator()
5788 && (NextToken().is(tok::comma) || NextToken().is(tok::r_paren)); in isFunctionDeclaratorIdentifierList()
5817 SkipUntil(tok::r_paren, StopAtSemi | StopBeforeMatch); in ParseFunctionDeclaratorIdentifierList()
5941 (NextToken().isNot(tok::r_paren) || in ParseParameterDeclarationClause()
5993 SkipUntil(tok::comma, tok::r_paren, StopAtSemi | StopBeforeMatch); in ParseParameterDeclarationClause()
6338 SkipUntil(tok::r_paren, StopAtSemi); in ParseAtomicSpecifier()