[clang] [clang] check deduction consistency when partial ordering function templates (PR #100692)

via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 21 01:25:15 PDT 2024


================
@@ -5346,7 +5346,6 @@ static EvalStmtResult EvaluateStmt(StmtResult &Result, EvalInfo &Info,
     const Expr *RetExpr = cast<ReturnStmt>(S)->getRetValue();
     FullExpressionRAII Scope(Info);
     if (RetExpr && RetExpr->isValueDependent()) {
-      EvaluateDependentExpr(RetExpr, Info);
----------------
cor3ntin wrote:

Should we do that _sometimes_  (ie when not do it partial ordering)?
But it's unclear to me why EvaluateDependentExpr is needed to begin with

https://github.com/llvm/llvm-project/pull/100692


More information about the cfe-commits mailing list