name-lookup.c (suggest_alternatives_for): Use qualified lookup sans using directives.
authorNathan Sidwell <nathan@acm.org>
Tue, 6 Jun 2017 23:02:49 +0000 (23:02 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 6 Jun 2017 23:02:49 +0000 (23:02 +0000)
commit25396db9caa179fb2e50199a9b72d579dde3e68b
tree5dd0dec0b426a37b2a5a4b4ba15119df9c4d4ead
parentf788537d682b78a5496276da4e35c8462317175f
name-lookup.c (suggest_alternatives_for): Use qualified lookup sans using directives.

* name-lookup.c (suggest_alternatives_for): Use qualified lookup
sans using directives.  Don't walk into inline namespaces.

* g++.dg/pr45330.C: Add inline namespace case.

From-SVN: r248938
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr45330.C