public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "swagiaal at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug c++/11543] using-directive does not autocomplete
Date: Wed, 28 Apr 2010 15:30:00 -0000	[thread overview]
Message-ID: <20100428153037.24589.qmail@sourceware.org> (raw)
In-Reply-To: <20100426211822.11543.jan.kratochvil@redhat.com>


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


  parent reply	other threads:[~2010-04-28 15:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26 21:18 [Bug c++/11543] New: " jan dot kratochvil at redhat dot com
2010-04-27 16:47 ` [Bug c++/11543] " cmoller at redhat dot com
2010-04-28 15:30 ` swagiaal at redhat dot com [this message]
2010-04-28 17:27 ` cmoller at redhat dot com
2010-07-22 15:38 ` swagiaal at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100428153037.24589.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).