This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Using directives (again)
- To: nathan at codesourcery dot com
- Subject: Re: [C++ PATCH] Using directives (again)
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 03 May 2001 08:52:14 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <3AF13D61.D66070B5@codesourcery.com>
>>>>> "Nathan" == Nathan Sidwell <nathan@codesourcery.com> writes:
Nathan> Hi, I've applied this as the obvious fix to the recent
Nathan> using directive breakage. there are some other places that
Nathan> need to be told about it.
Good catch.
Nathan> Oh for a uniform AST representation.
What we actually needed here was object-orientation.
The problem is that when you add a new tree-code, you have to find all
the predicates that operate on it -- it would be better to write
virtual functions that gives the attributes of the tree-code directly
with the tree-code. Someday.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com