cp-tree.h (PUSH_GLOBAL, [...]): Delete.
authorNathan Sidwell <nathan@acm.org>
Tue, 23 May 2017 21:15:48 +0000 (21:15 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 23 May 2017 21:15:48 +0000 (21:15 +0000)
commit3a9cc6853ad1a1889c98c3ae6ab7628d09ca9d8f
treeb4b066822cc13a858257666c679cd732a8234af8
parentf0c1ade45a7488e97c8d6c3aababec5c9d04f609
cp-tree.h (PUSH_GLOBAL, [...]): Delete.

* cp-tree.h (PUSH_GLOBAL, PUSH_LOCAL, PUSH_USING): Delete.
* name-lookup.c (create_local_binding): New.
(update_binding): New.
(pushdecl_maybe_friend_1): Rename to ...
(do_pushdecl): ... this.  Reimplement.
(pushdecl): Adjust.
(push_overloaded_decl_1, push_overloaded_decl): Delete.

From-SVN: r248387
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c