[PATCH] D74116: [Sema][C++] Strawman patch to propagate conversion type in order to specialize the diagnostics

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 7 02:56:56 PST 2020


Anastasia added a comment.

In D74116#1863186 <https://reviews.llvm.org/D74116#1863186>, @rjmccall wrote:

> Hmm.  The alternative approach, I suppose, would be to recognize that we're about to emit a generic error and just recheck assignment constraints to recompute the AssignConvertType.


Indeed. It will need less changes around the code base but also means checks will be repeated.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74116/new/

https://reviews.llvm.org/D74116





More information about the cfe-commits mailing list