This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] function overloading and namespaces
- From: David Carlton <carlton at kealia dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 02 Feb 2004 12:44:57 -0800
- Subject: Re: [rfa] function overloading and namespaces
- References: <m31xphpbd6.fsf@coconut.kealia.com><20040202200917.GA6423@nevyn.them.org>
On Mon, 2 Feb 2004 15:09:17 -0500, Daniel Jacobowitz <drow@mvista.com> said:
> I have some deep reservations about this overload resolution code.
Yeah, me too. I hope that my patch doesn't make that situation any
worse, but I certainly don't claim that it makes the situation
significantly better. :-(
> I am really sick of the number of variants of this C++ name parsing we
> are spawning. While the rest of the branch will be some time yet
> maturing, I will try to merge the relevant pieces of drow-cplus-branch
> in the very near future. Then we can dispense with this function.
Glad to hear it.
> I'm also pretty tired of the growth of functions which concatenate
> names with "::", or tear them apart with cp_find_next_component. We
> need to use some more efficient structure for describing namespaces
> than this. My personal hope is that we can un-flatten the symbol table
> eventually, and have dictionaries per scope.
Sounds good to me...
Thanks, committed (with Eli's ChangeLog tweak).
David Carlton
carlton@kealia.com