================
@@ -12166,6 +12174,15 @@ static void DiagnoseBadDeduction(Sema &S, NamedDecl
*Found, Decl *Templated,
diag::note_ovl_candidate_explicit_arg_mismatch_unnamed)
<< (index + 1);
}
+
+ if (PartialDiagnosticAt *PDiag = DeductionFailure.getSFINAEDiagnostic()) {
+ unsigned DiagID =
----------------
Sirraide wrote:
> Maybe we should just emit them as errors and leave a TODO for @Sirraide to
> fix in once they get nested errors to work?
I’ll add this to my ‘list of places where we’d like to be able to nest
diagnostics’; hopefully I’ll be able to open a pr for that next week.
https://github.com/llvm/llvm-project/pull/139066
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits