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: [C++ PATCH] Fix name lookup inconsistency


Mark Mitchell wrote:



--On Saturday, January 04, 2003 12:35:39 AM +0700 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> wrote:

Hi

This following patch corrects an inconsistency in name lookup code.
When doing name lookup a class template preferring a type,
lookup_name returns a TEMPLATE_DECL for an ordinary class template
but returns a TYPE_DECL for a member class template.

This patch is out-of-date; the new parser changed some of this code a
bit.  To me, the code in CVS looks correct.

I should have noticed this earlier.

--Kriang




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