This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: [rfa] function overloading and namespaces


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


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