name-lookup.c (check_local_shadow): New, broke out of ...
authorNathan Sidwell <nathan@acm.org>
Tue, 16 May 2017 19:20:25 +0000 (19:20 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 16 May 2017 19:20:25 +0000 (19:20 +0000)
commitc0c248220bb16284fabcf996fcca87e44cd4a98a
tree08f0c2278688bcbd735a7db3866ad0c62b4d35a9
parentb3d762eb74026a85de6848f5fe09e4fbdefe19cc
name-lookup.c (check_local_shadow): New, broke out of ...

* name-lookup.c (check_local_shadow): New, broke out of ...
(pushdecl_maybe_friend_1): ... here.  Call it.

From-SVN: r248123
gcc/cp/ChangeLog
gcc/cp/name-lookup.c