name-lookup.c (finish_using_directive): Don't issue inform() if the warning didn...
authorMarek Polacek <polacek@redhat.com>
Mon, 20 May 2019 19:04:52 +0000 (19:04 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 20 May 2019 19:04:52 +0000 (19:04 +0000)
commitf12ea6acdeb3b62ddb8324bc71a67c6a189f6c3c
tree11d8d8987f0f2d30558906d47ef59a5e13476e4a
parent8d25372f16eb18581227790389df3115314d07ab
name-lookup.c (finish_using_directive): Don't issue inform() if the warning didn't trigger.

* name-lookup.c (finish_using_directive): Don't issue inform() if the
warning didn't trigger.  Add quoting.  Tweak the inform message.

* g++.dg/lookup/strong-using2.C: New test.

From-SVN: r271432
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/strong-using2.C [new file with mode: 0644]