OSDN Git Service

* cp-tree.h (scope_kind): Add new enumerator.
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Sep 2003 15:42:21 +0000 (15:42 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Sep 2003 15:42:21 +0000 (15:42 +0000)
commite880f232c9e7adf629dfba9807fc624be2ec79ce
tree7ed60f69034fa22ef77ea47b08b2a73bc35cf78c
parent54ff1f353af325c957254279a0c48d99b1dd2334
* cp-tree.h (scope_kind): Add new enumerator.
(keep_next_level): Change parameter type to bool.
(begin_scope):  Change prototype.
(pushlevel): Remove declaration.
* decl.c (push_binding_level): Fold in begin_scope.  Remove.
(struct cp_binding_level): Remove tag_tranparent field.  Make keep
of bitsize one.
(keep_next_level_flag): Make a bool.
(cxx_scope_descriptor): Update scope names table
(make_cxx_scope): Fold in begin_scope.  Remove..
(namespace_scope_ht_size): New function.
(begin_scope): Change prototype.  Return a scope.  Tidy.
(kept_level_p): Update.
(pushlevel): Remove.
(maybe_push_cleanup_level): Simplify.
(poplevel): Update for sk_cleanup and keep change.
(print_binding_level): Likewise.
(initial_push_namespace_scope): Fold in begin_scope.  Remove.
(push_namespace): Update.
(pushtag): Likewise.
(lookup_tag): Likewise.
(lookup_name_current_level): Likewise.
(lookup_type_current_level): Likewise.
(cxx_init_decl_processing): Likewise.
(start_function): Likewise.
(begin_function_body): Likewise.
(start_method): Likewise.
* pt.c (push_inline_template_parms_recursive): Likewise.
(begin_template_parm_list): Likewise.
(begin_specialization): Likewise.
* semantics.c (do_pushlevel): Likewise.
(begin_compound_stmt): Likewise.
(begin_stmt_expr): Likewise.

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