name-lookup.h (pop_binding): Rename to pop_local_binding.
authorNathan Sidwell <nathan@acm.org>
Thu, 11 May 2017 11:06:26 +0000 (11:06 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 11 May 2017 11:06:26 +0000 (11:06 +0000)
commit9c82d7b68ed064386dcfa78d8894c7fb39f4eddb
tree209eb175f0e2550a51dc83c016a2ceaa4a44eab9
parent67ac9a9db1b63e93fcdc2d959325c984edd521b8
name-lookup.h (pop_binding): Rename to pop_local_binding.

* name-lookup.h (pop_binding): Rename to pop_local_binding.
(getdecls): Rename to get_local_decls.
* name-lookup.c (pop_binding): Rename to ...
(pop_local_binding): ... here.
(pop_bindings_and_leave_scope): Adjust.
(getdecls): Rename to ...
(get_local_decls): ... here.  Assert local scope.
* decl.c (poplevel): Assert not namespace.  Adjust and simplify
logic.
(store_parm_decls): Adjust get_local_decls call.
(parser.c (synthesize_implicit_template_parm): Likewise.

From-SVN: r247901
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/name-lookup.c
gcc/cp/name-lookup.h
gcc/cp/parser.c