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]

Re: [C++ PATCH] Using directives (again)


>>>>> "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


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