[clang] [clang][sema] CallExprs are constructed for undeduced deleted functions (#208488) (PR #211705)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 27 12:55:20 PDT 2026


================
@@ -15027,6 +15027,10 @@ static ExprResult FinishOverloadedCallExpr(Sema &SemaRef, Scope *S, Expr *Fn,
                                          Fn->getSourceRange(), ULE->getName(),
                                          *CandidateSet, FDecl, Args);
 
+    if (completeFunctionType(SemaRef, FDecl, Fn->getBeginLoc(),
+                             /*Complain=*/true))
----------------
mizvekov wrote:

Do we need to complain here, knowing that we are already in an error path / recovering?

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


More information about the cfe-commits mailing list