[clang] [Clang] Clarify diagnostic notes for implicitly generated deduction guides (PR #96084)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 20 05:11:00 PDT 2024


================
@@ -580,6 +580,9 @@ Improvements to Clang's diagnostics
 - Clang no longer emits a "declared here" note for a builtin function that has no declaration in source.
   Fixes #GH93369.
 
+- Clang now emits implicit deduction guides corresponding to non-user-defined constructors while at a failure
+  of overload resolution.
----------------
Sirraide wrote:

```suggestion
- Clang now shows implicit deduction guides corresponding to implcitly defined constructors when 
  diagnosing overload resolution failure.
```
A bit easier to read perhaps ;Þ

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


More information about the cfe-commits mailing list