Re: How to determine if a decl is a class member in GCC

2008-07-22 Thread Benjamin Smedberg
Le-Chun Wu wrote: Benjamin, Thanks for looking into this issue. I see what's going on here. It's basically a phase ordering problem. I am trying to determine whether a declaration is a class member when attributes are parsed and handled (in c-common.c), which happens earlier than where the conte

Re: How to determine if a decl is a class member in GCC

2008-07-22 Thread Le-Chun Wu
Benjamin, Thanks for looking into this issue. I see what's going on here. It's basically a phase ordering problem. I am trying to determine whether a declaration is a class member when attributes are parsed and handled (in c-common.c), which happens earlier than where the context of a data member

Re: How to determine if a decl is a class member in GCC

2008-07-22 Thread Benjamin Smedberg
Le-Chun Wu wrote: Hi, I haven't heard anything back on my questions. Can any of C++ frontend maintainers please shed some light (or comment on my proposed patch)? Thanks a lot. Le-chun On Fri, Jul 18, 2008 at 10:22 AM, Le-Chun Wu <[EMAIL PROTECTED]> wrote: Hi, In my attribute handlers that h

Re: How to determine if a decl is a class member in GCC

2008-07-21 Thread Le-Chun Wu
Hi, I haven't heard anything back on my questions. Can any of C++ frontend maintainers please shed some light (or comment on my proposed patch)? Thanks a lot. Le-chun On Fri, Jul 18, 2008 at 10:22 AM, Le-Chun Wu <[EMAIL PROTECTED]> wrote: > Hi, > > In my attribute handlers that handle the new th