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

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 23 16:39:05 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);
----------------
mizvekov wrote:

I can't answer that question as I am not even sure what it's supposed to do here.
I can't prove it doesn't do anything at all without spending some time into it, which hopefully we could avoid if @hokein would shed some light :)

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


More information about the cfe-commits mailing list