Re: [PATCH 1/3] c-family: add name_hint/deferred_diagnostic

2017-08-03 Thread Jeff Law
On 07/03/2017 11:32 AM, David Malcolm wrote: > On Mon, 2017-07-03 at 10:25 -0600, Jeff Law wrote: >> On 05/05/2017 11:51 AM, David Malcolm wrote: >>> In various places we use lookup_name_fuzzy to provide a hint, >>> and can report messages of the form: >>> error: unknown foo named 'bar' >>> or:

Re: [PATCH 1/3] c-family: add name_hint/deferred_diagnostic

2017-07-10 Thread Trevor Saunders
On Mon, Jul 03, 2017 at 01:32:46PM -0400, David Malcolm wrote: > On Mon, 2017-07-03 at 10:25 -0600, Jeff Law wrote: > > On 05/05/2017 11:51 AM, David Malcolm wrote: > > > In various places we use lookup_name_fuzzy to provide a hint, > > > and can report messages of the form: > > > error: unknown

Re: [PATCH 1/3] c-family: add name_hint/deferred_diagnostic

2017-07-03 Thread David Malcolm
On Mon, 2017-07-03 at 10:25 -0600, Jeff Law wrote: > On 05/05/2017 11:51 AM, David Malcolm wrote: > > In various places we use lookup_name_fuzzy to provide a hint, > > and can report messages of the form: > > error: unknown foo named 'bar' > > or: > > error: unknown foo named 'bar'; did you

Re: [PATCH 1/3] c-family: add name_hint/deferred_diagnostic

2017-07-03 Thread Jeff Law
On 05/05/2017 11:51 AM, David Malcolm wrote: > In various places we use lookup_name_fuzzy to provide a hint, > and can report messages of the form: > error: unknown foo named 'bar' > or: > error: unknown foo named 'bar'; did you mean 'SUGGESTION? > > This patch provides a way for

[PING] Re: [PATCH 1/3] c-family: add name_hint/deferred_diagnostic

2017-05-26 Thread David Malcolm
I'd like to ping the following patches: [PATCH 1/3] c-family: add name_hint/deferred_diagnostic https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00439.html [PATCH 2/3] C++: provide macro used-before-defined hint (PR c++/72786). https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00437.html

[PATCH 1/3] c-family: add name_hint/deferred_diagnostic

2017-05-05 Thread David Malcolm
In various places we use lookup_name_fuzzy to provide a hint, and can report messages of the form: error: unknown foo named 'bar' or: error: unknown foo named 'bar'; did you mean 'SUGGESTION? This patch provides a way for lookup_name_fuzzy to provide both the suggestion above, and