Lines Matching full:fe
254 calculateConstraintSatisfaction(Sema &S, const CXXFoldExpr *FE, in calculateConstraintSatisfaction() argument
257 bool Conjunction = FE->getOperator() == BinaryOperatorKind::BO_LAnd; in calculateConstraintSatisfaction()
261 if (FE->isLeftFold() && FE->getInit()) { in calculateConstraintSatisfaction()
262 Out = calculateConstraintSatisfaction(S, FE->getInit(), Satisfaction, in calculateConstraintSatisfaction()
275 Evaluator.EvaluateFoldExpandedConstraintSize(FE); in calculateConstraintSatisfaction()
280 ExprResult Res = calculateConstraintSatisfaction(S, FE->getPattern(), in calculateConstraintSatisfaction()
295 S.Context, Out.get(), Res.get(), FE->getOperator(), S.Context.BoolTy, in calculateConstraintSatisfaction()
296 VK_PRValue, OK_Ordinary, FE->getBeginLoc(), FPOptionsOverride{}); in calculateConstraintSatisfaction()
302 if (FE->isRightFold() && FE->getInit()) { in calculateConstraintSatisfaction()
303 ExprResult Res = calculateConstraintSatisfaction(S, FE->getInit(), in calculateConstraintSatisfaction()
312 S.Context, Out.get(), Res.get(), FE->getOperator(), S.Context.BoolTy, in calculateConstraintSatisfaction()
313 VK_PRValue, OK_Ordinary, FE->getBeginLoc(), FPOptionsOverride{}); in calculateConstraintSatisfaction()
319 Out = S.BuildEmptyCXXFoldExpr(FE->getBeginLoc(), FE->getOperator()); in calculateConstraintSatisfaction()
342 if (auto *FE = dyn_cast<CXXFoldExpr>(ConstraintExpr); in calculateConstraintSatisfaction() local
343 FE && S.getLangOpts().CPlusPlus26 && in calculateConstraintSatisfaction()
344 (FE->getOperator() == BinaryOperatorKind::BO_LAnd || in calculateConstraintSatisfaction()
345 FE->getOperator() == BinaryOperatorKind::BO_LOr)) { in calculateConstraintSatisfaction()
346 return calculateConstraintSatisfaction(S, FE, Satisfaction, Evaluator); in calculateConstraintSatisfaction()
533 EvaluateFoldExpandedConstraintSize(const CXXFoldExpr *FE) const { in calculateConstraintSatisfaction()
538 Expr *Pattern = FE->getPattern(); in calculateConstraintSatisfaction()
545 std::optional<unsigned> OrigNumExpansions = FE->getNumExpansions(), in calculateConstraintSatisfaction()
548 FE->getEllipsisLoc(), Pattern->getSourceRange(), Unexpanded, in calculateConstraintSatisfaction()
554 S.Diag(FE->getEllipsisLoc(), in calculateConstraintSatisfaction()
557 << FE->getSourceRange(); in calculateConstraintSatisfaction()
558 S.Diag(FE->getEllipsisLoc(), diag::note_bracket_depth); in calculateConstraintSatisfaction()
697 EvaluateFoldExpandedConstraintSize(const CXXFoldExpr *FE) const { in CheckConstraintSatisfaction()
1624 } else if (auto *FE = dyn_cast<const CXXFoldExpr>(E); in fromConstraintExpr() local
1625 FE && S.getLangOpts().CPlusPlus26 && in fromConstraintExpr()
1626 (FE->getOperator() == BinaryOperatorKind::BO_LAnd || in fromConstraintExpr()
1627 FE->getOperator() == BinaryOperatorKind::BO_LOr)) { in fromConstraintExpr()
1632 FE->getOperator() == BinaryOperatorKind::BO_LAnd in fromConstraintExpr()
1636 if (FE->getInit()) { in fromConstraintExpr()
1637 auto LHS = fromConstraintExpr(S, D, FE->getLHS()); in fromConstraintExpr()
1638 auto RHS = fromConstraintExpr(S, D, FE->getRHS()); in fromConstraintExpr()
1642 if (FE->isRightFold()) in fromConstraintExpr()
1644 Kind, std::move(*RHS), FE->getPattern()}}; in fromConstraintExpr()
1647 Kind, std::move(*LHS), FE->getPattern()}}; in fromConstraintExpr()
1651 FE->getOperator() == BinaryOperatorKind::BO_LAnd ? CCK_Conjunction in fromConstraintExpr()
1654 auto Sub = fromConstraintExpr(S, D, FE->getPattern()); in fromConstraintExpr()
1658 Kind, std::move(*Sub), FE->getPattern()}}; in fromConstraintExpr()