On 05/09/18 14:41, David Malcolm wrote:
Please add the:
auto_diagnostic_group d;
line to the top of the function.
OK with that change.
Here's what I committed.
Andrew
Add sorry_at diagnostic function.
The plain "sorry" diagnostic only gives the "current" location, which is
typically th
On Wed, 2018-09-05 at 09:39 -0400, David Malcolm wrote:
> On Wed, 2018-09-05 at 12:49 +0100, a...@codesourcery.com wrote:
> > The plain "sorry" diagnostic only gives the "current" location,
> > which
> > is
> > typically the last line of the function or translation unit by time
> > we get to
> > th
On Wed, 2018-09-05 at 12:49 +0100, a...@codesourcery.com wrote:
> The plain "sorry" diagnostic only gives the "current" location, which
> is
> typically the last line of the function or translation unit by time
> we get to
> the back end.
>
> GCN uses "sorry" to report unsupported language feature
The plain "sorry" diagnostic only gives the "current" location, which is
typically the last line of the function or translation unit by time we get to
the back end.
GCN uses "sorry" to report unsupported language features, such as static
constructors, so it's useful to have a "sorry_at" variant.