This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR c++/60994 gcc does not recognize hidden/shadowed enumeration as valid nested-name-specifier
- From: Jason Merrill <jason at redhat dot com>
- To: Momchil Velikov <momchil dot velikov at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 09 May 2014 20:56:45 -0400
- Subject: Re: [PATCH] Fix PR c++/60994 gcc does not recognize hidden/shadowed enumeration as valid nested-name-specifier
- Authentication-results: sourceware.org; auth=none
- References: <CAEjVhjREFLJgwGphw9OvbaH_WxsPDAiSxdWM84Mx7sHqqCKbRg at mail dot gmail dot com> <CAEjVhjTVwesMdx+gfUD29Yg=dxCNVg=SU2ANi308tcSgsA7GJw at mail dot gmail dot com>
I don't think we want cp_parser_class_name to find enums; better I think
to change cp_parser_qualifying_entity to use something other than
cp_parser_type_name to look for enums.
Jason