This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Adjust locations for RECORD_TYPEs


On 11/25/2009 03:00 PM, Richard Guenther wrote:
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?
End of struct/class token.

Taras


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]