On 11/24/2015 09:03 PM, Jeff Law wrote:

Although this looks weird, it's deliberate, and follows the pattern
earlier in those test files: the diagnostics are injected by the plugin,
not by cc1.  The plugin gives us a way of unit-testing how
diagnostic_show_locus handles the various ways of calling into the
diagnostic API, isolating it from the details of any particular real
diagnostic in cc1, and from the details of how to get real
location/range information.
*must* *remember* *this* *stuff* *is* *different*.

I think we should remember to fix that at some point not to use such a convoluted scheme.


Bernd

Reply via email to