================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to