On 02/28/2012 05:06 PM, Fabien Chêne wrote:
I agree, this is not efficient but I didn't find a better place.
perhaps in cp_parser_enumerator_list,  that would require adding an
additional parameter to keep track of all the enum DECLs. Is it what
you have in mind ?

I was thinking of finish_enum_value_list.

Unqualified lookup works because when the type is not complete, the
lookup uses the non sorted case, which always works.

OK, just make sure we have a test for that.

Jason

Reply via email to