OSDN Git Service

* name-lookup.h (global_scope_p): New macro.
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 May 2003 11:04:10 +0000 (11:04 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 May 2003 11:04:10 +0000 (11:04 +0000)
commitddeeea02661eabcefa5c0503b45c9606b82dd349
treed7180c6ce33dcebd85341a8e4c530fb403327a0b
parente895accd1b8ea7fa4c584e5ab5df07c1fb6acc1d
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67221 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/name-lookup.h