This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/11543] using-directive does not autocomplete
- From: "swagiaal at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 28 Apr 2010 15:30:37 -0000
- Subject: [Bug c++/11543] using-directive does not autocomplete
- References: <20100426211822.11543.jan.kratochvil@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From swagiaal at redhat dot com 2010-04-28 15:30 -------
The question is whether symtab.c:completion_list_add_name
looks at current import statements (using namespace A).
To add support for something like that would require duplicating a lot of the
code that currently does namespace lookup in completion_list_add_name.
IMO the right thing to do is to modify the lookup_* functions to optionally
return a list of all matching names so that the code can be reused. The same
thing applies to the lookup procedure performed during overload resolution.
Seems like a lot of work but it is the right thing to do.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11543
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.