From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24608 invoked by alias); 28 Apr 2010 15:30:38 -0000 Received: (qmail 24590 invoked by uid 48); 28 Apr 2010 15:30:37 -0000 Date: Wed, 28 Apr 2010 15:30:00 -0000 Message-ID: <20100428153037.24589.qmail@sourceware.org> From: "swagiaal at redhat dot com" To: gdb-prs@sourceware.org In-Reply-To: <20100426211822.11543.jan.kratochvil@redhat.com> References: <20100426211822.11543.jan.kratochvil@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug c++/11543] using-directive does not autocomplete X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2010-q2/txt/msg00173.txt.bz2 ------- 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.