name-lookup.c (pushdecl_top_level) pushdecl_top_level_and_finish): Move after namespa...
authorNathan Sidwell <nathan@acm.org>
Mon, 22 May 2017 11:16:49 +0000 (11:16 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 22 May 2017 11:16:49 +0000 (11:16 +0000)
commitc405923d0202e2a173d6a87074b2c3dbfd9383de
tree8156bc6497ba044c1fe84b56eab29a11201a6628
parent0c4f8178540fc1f41a901a02910e7c25a85849fb
name-lookup.c (pushdecl_top_level) pushdecl_top_level_and_finish): Move after namespace pushing and popping functions.

* name-lookup.c (pushdecl_top_level)
pushdecl_top_level_and_finish): Move after namespace pushing and
popping functions.
(push_to_top_level): Rename to ...
(do_push_to_top_level): ... here.  Remove timing code.
(pop_from_top_level_1): Rename to ...
(do_pop_from_top_level): ... here.
(do_push_nested_namespace, do_pop_nested_namespace)
(push_to_top_level): New wrapper for do_push_to_top_level.
(pop_from_top_level): Adjust.
(push_nested_namepace, pop_nested_namespace): Wrappers for workers.
(--This line, and those below, will be ignored--

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

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