This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Adjust locations for RECORD_TYPEs
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Taras Glek <tglek at mozilla dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Jason Merrill <jason at redhat dot com>
- Date: Thu, 26 Nov 2009 00:00:27 +0100
- Subject: Re: Adjust locations for RECORD_TYPEs
- References: <4B0DB658.3040305@mozilla.com>
On Wed, Nov 25, 2009 at 11:57 PM, Taras Glek <tglek@mozilla.com> wrote:
> Hi,
> Currently locations for structs point at {, which is frustrating in error
> messages and painful if one uses GCC to index their codebase (ie
> http://australia.proximity.on.ca/dxr/)
>
> This patch attempts to correct that such that the location of a RECORD_TYPE
> will be the location of the class name.
What will be the location for anonymous RECORD_TYPEs?
Richard.