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] | |
On 2014-03-24 17:23, Jason Merrill wrote:
No. The object referred to by 'scope->this_entity' is the same for each of the two levels, so unless there's something else I can pass to 'currently_open_class', the result will be equivalent; the issue is that the class being referred to *is* being defined, but I need to skip over the second class-scope for that type to arrive at the defining scope level.On 03/18/2014 10:46 PM, Adam Butcher wrote:- while (scope->kind == sk_class - && !TYPE_BEING_DEFINED (scope->this_entity))Does it work to just change TYPE_BEING_DEFINED to currently_open_class?
Adam
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |