This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc/cp ChangeLog decl.c name-lookup.h
- From: gdr at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 29 May 2003 11:04:10 -0000
- Subject: gcc/gcc/cp ChangeLog decl.c name-lookup.h
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: gdr@gcc.gnu.org 2003-05-29 11:04:10
Modified files:
gcc/cp : ChangeLog decl.c name-lookup.h
Log message:
* name-lookup.h (global_scope_p): New macro.
* decl.c (pop_binding_level): Use it. Don't refer directly to
global_binding_level.
(suspend_binding_level): Likewise.
(global_bindings_p): Likewise.
(print_other_binding_stack): Likewise.
(print_binding_stack): Likewise.
(maybe_push_to_top_level): Likewise.
(pushdecl_namespace_level): Likewise.
(cxx_init_decl_processing): Likewise.
(start_decl): Likewise.
(cp_finish_decl): Likewise.
(start_function): Likewise.
(global_binding_level): Remove.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3394&r2=1.3395
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1056&r2=1.1057
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/name-lookup.h.diff?cvsroot=gcc&r1=1.3&r2=1.4