Reimplement qualified namespace lookup.
commit421bfc0fa6f3528d13830f667df9b1d0e92976d5
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 May 2017 15:12:38 +0000 (25 15:12 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 May 2017 15:12:38 +0000 (25 15:12 +0000)
tree0bf4ec4456ad95fc6c90b6b1fae098562162521a
parent5b5018e47d9abbd333dd361cbff01e5a4a470e85
Reimplement qualified namespace lookup.
* name-lookup.c (name_lookup::flags): New member.  Adjust ctor.
(name_lookup::ambiguous, name_lookup::add_value)
name_lookup::add_type, name_lookup::process_binding): New.
(name_lookup::search_namespace_only)
name_lookup::search_namespace, name_lookup::search_usings): New.
(name_lookup::search_qualified): New.
(do_nonmember_using_decl, suggest_alternatives_for)
lookup_qualified_name): Adjust.
(tree_vec_contains): Delete.
(qualified_lookup_using_namespace): Rename to ...
(qualified_namespace_lookup): ... here.  Reimplement.
(((--This line, and those below, will be ignored--

M    cp/name-lookup.c
M    cp/ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248462 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/name-lookup.c