Matheus Izvekov <email@example.com>
We submitted the RFC at https://discourse.llvm.org/t/rfc-improving-diagnostics-with-template-specialization-resugaring/64294.
The main patch of this effort is submitted to phab, can be found at https://reviews.llvm.org/D127695.
There are several things going on at the same time there though, and we can split it up to facilitate review:
We need to start tracking performance changes caused by the main patch and some of the pre-requisite patches.
This will inform us of the need for switch to turn on / off, doing the resugaring eagerly vs lazily, and other
configurable limitations that we might need to introduce.
The main resugaring patch has a fairly efficient implementation, but there are some minor tweaks needed: