Re: [PATCH] c++: give suggestion on misspelled class name [PR116771]

2024-12-04 Thread David Malcolm
On Fri, 2024-11-22 at 17:04 -0500, Marek Polacek wrote: > On Fri, Nov 22, 2024 at 04:56:08PM -0500, David Malcolm wrote: > > Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. > > > > OK for trunk? > > Not an approval, but the patch LGTM -- it follows the usual > hint.suggestion() > p

Re: [PATCH] c++: give suggestion on misspelled class name [PR116771]

2024-11-22 Thread Marek Polacek
On Fri, Nov 22, 2024 at 04:56:08PM -0500, David Malcolm wrote: > Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. > > OK for trunk? Not an approval, but the patch LGTM -- it follows the usual hint.suggestion() pattern elsewhere in the front end. > gcc/cp/ChangeLog: > PR c++/

[PATCH] c++: give suggestion on misspelled class name [PR116771]

2024-11-22 Thread David Malcolm
Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. OK for trunk? gcc/cp/ChangeLog: PR c++/116771 * parser.cc (cp_parser_name_lookup_error): Provide suggestions for the case of complete failure where there is no scope. gcc/testsuite/ChangeLog: PR c++/11