Re: [patch, doc] fix some overfull hboxes

2017-12-19 Thread Michel Morin
Hi, > Index: gcc/doc/invoke.texi [...] > +In C++14, @code{f} calls calls @code{f}, but in -> +In C++14, @code{f(g)} calls @code{f}, but in ? (Sorry for unthreading..., I haven't subscribed this ML yet and I couldn't set "In-Reply-To" header manually on Gmail web interface.) Regards, Michel

[PATCH] c++: fix wrong fixit hints for misspelled typedef [PR77565]

2021-09-13 Thread Michel Morin via Gcc-patches
Hi, PR77565 reports that, with the code `typdef int Int;`, GCC emits "did you mean 'typeof'?" instead of "did you mean 'typedef'?". This happens because the typo corrector determines that `typeof` is a candidate for suggestion (through `cp_keyword_starts_decl_specifier_p`), but `typedef` is not.

Re: [PATCH] c++: fix wrong fixit hints for misspelled typedef [PR77565]

2021-09-14 Thread Michel Morin via Gcc-patches
On Tue, Sep 14, 2021 at 7:14 AM David Malcolm wrote: > > On Tue, 2021-09-14 at 03:35 +0900, Michel Morin via Gcc-patches wrote: > > Hi, > > > > PR77565 reports that, with the code `typdef int Int;`, GCC emits > > "did you mean 'typeof'?" instead

Re: [PATCH] c++: fix wrong fixit hints for misspelled typedef [PR77565]

2021-09-16 Thread Michel Morin via Gcc-patches
On Thu, Sep 16, 2021 at 5:44 AM Jason Merrill wrote: > > On 9/14/21 04:29, Michel Morin via Gcc-patches wrote: > > On Tue, Sep 14, 2021 at 7:14 AM David Malcolm wrote: > >> > >> On Tue, 2021-09-14 at 03:35 +0900, Michel Morin via Gcc-patches wrote: > >>

Re: [PATCH] c++: fix wrong fixit hints for misspelled typedef [PR77565]

2021-09-17 Thread Michel Morin via Gcc-patches
On Fri, Sep 17, 2021 at 3:23 AM Jason Merrill wrote: > > On 9/16/21 11:50, Michel Morin wrote: > > On Thu, Sep 16, 2021 at 5:44 AM Jason Merrill wrote: > >> > >> On 9/14/21 04:29, Michel Morin via Gcc-patches wrote: > >>> On Tue, Sep 14, 2021 at 7:14 AM

Re: [PATCH] c++: fix wrong fixit hints for misspelled typedef [PR77565]

2021-09-21 Thread Michel Morin via Gcc-patches
On Tue, Sep 21, 2021 at 5:24 AM Jason Merrill wrote: > > On 9/17/21 13:31, Michel Morin wrote: > > On Fri, Sep 17, 2021 at 3:23 AM Jason Merrill wrote: > >> > >> On 9/16/21 11:50, Michel Morin wrote: > >>> On Thu, Sep 16, 2021 at 5:44 AM Jason Merr

Re: [PATCH] c++: fix wrong fixit hints for misspelled typedef [PR77565]

2021-09-22 Thread Michel Morin via Gcc-patches
On Thu, Sep 23, 2021 at 5:09 AM Jason Merrill wrote: > > On 9/21/21 20:53, Michel Morin wrote: > > On Tue, Sep 21, 2021 at 5:24 AM Jason Merrill wrote: > >> > >> On 9/17/21 13:31, Michel Morin wrote: > >>> On Fri, Sep 17, 2021 at 3:23 AM Jason Merr

Re: [PATCH] c++: fix wrong fixit hints for misspelled typedef [PR77565]

2021-09-23 Thread Michel Morin via Gcc-patches
On Fri, Sep 24, 2021 at 5:29 AM Jason Merrill wrote: > > On Wed, Sep 22, 2021 at 7:05 PM Michel Morin wrote: > > On Thu, Sep 23, 2021 at 5:09 AM Jason Merrill wrote: > > > > On 9/21/21 20:53, Michel Morin wrote: > > > On Tue, Sep 21, 2021 at 5