Lines Matching defs:RequiresToken

2337       auto *RequiresToken = FormatTok;
2339 parseRequiresClause(RequiresToken);
2647 auto RequiresToken = FormatTok;
2649 parseRequiresExpression(RequiresToken);
3435 auto RequiresToken = FormatTok;
3444 parseRequiresExpression(RequiresToken);
3451 parseRequiresClause(RequiresToken);
3462 auto *PreviousNonComment = RequiresToken->getPreviousNonComment();
3468 parseRequiresClause(RequiresToken);
3478 parseRequiresClause(RequiresToken);
3490 parseRequiresClause(RequiresToken);
3498 parseRequiresClause(RequiresToken);
3502 parseRequiresExpression(RequiresToken);
3531 parseRequiresExpression(RequiresToken);
3546 parseRequiresExpression(RequiresToken);
3561 parseRequiresExpression(RequiresToken);
3569 parseRequiresClause(RequiresToken);
3574 /// \param RequiresToken The requires keyword token, which starts this clause.
3580 void UnwrappedLineParser::parseRequiresClause(FormatToken *RequiresToken) {
3581 assert(FormatTok->getPreviousNonComment() == RequiresToken);
3582 assert(RequiresToken->is(tok::kw_requires) && "'requires' expected");
3588 !RequiresToken->Previous ||
3589 RequiresToken->Previous->is(TT_RequiresExpressionLBrace);
3591 RequiresToken->setFinalizedType(InRequiresExpression
3604 /// \param RequiresToken The requires keyword token, which starts this clause.
3610 void UnwrappedLineParser::parseRequiresExpression(FormatToken *RequiresToken) {
3611 assert(FormatTok->getPreviousNonComment() == RequiresToken);
3612 assert(RequiresToken->is(tok::kw_requires) && "'requires' expected");
3614 RequiresToken->setFinalizedType(TT_RequiresExpression);
3655 auto RequiresToken = FormatTok;
3657 parseRequiresExpression(RequiresToken);