]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/semantics.c
cp-tree.h (scope_kind): Add new enumerator.
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Tue, 23 Sep 2003 15:42:21 +0000 (15:42 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Tue, 23 Sep 2003 15:42:21 +0000 (15:42 +0000)
commitac20c67af10d2f8aadabeb255ff66f31364e9e6d
tree7ed60f69034fa22ef77ea47b08b2a73bc35cf78c
parent3504b199c283afd4d48cbd0f786fa6fd33a11a13
cp-tree.h (scope_kind): Add new enumerator.

* 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.

From-SVN: r71683
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/pt.c
gcc/cp/semantics.c