This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/2] C/C++: add fix-it hints for various missing symbols (v3)
- From: Jason Merrill <jason at redhat dot com>
- To: David Malcolm <dmalcolm at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 12 Oct 2017 01:16:27 -0400
- Subject: Re: [PATCH 2/2] C/C++: add fix-it hints for various missing symbols (v3)
- Authentication-results: sourceware.org; auth=none
- References: <1506434179-2736-3-git-send-email-dmalcolm@redhat.com> <1507219711-60081-1-git-send-email-dmalcolm@redhat.com>
On Thu, Oct 5, 2017 at 12:08 PM, David Malcolm <dmalcolm@redhat.com> wrote:
> Here's a slight update to this patch, since v2 was made invalid by
> r253411 ("C: underline parameters in mismatching function calls").
>
> Both v2 and r253411 added code to c-parser.c/h to track the location_t
> of the last consumed token (although I somehow managed to name the new
> field in c_parser differently between the two versions...)
>
> This version (v3) is the same as v2, but removes the copy of the
> above code, updating the usage sites to use the field name from
> r253411.
>
> Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu
> in conjunction with patch 1 of the kit:
> https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01745.html
>
> OK for trunk?
OK.
Jason