aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppinit.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-03-12 18:47:52 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-03-12 18:47:52 +0000
commit74b846e0def7675566fc4dd849b01372d839a36c (patch)
treecc6c6ee272891ffacecf2646e5035c7b822cdff4 /gcc/cppinit.c
parentd45371489682747db260202e5dd90debf0de37cd (diff)
downloadgcc-74b846e0def7675566fc4dd849b01372d839a36c.zip
gcc-74b846e0def7675566fc4dd849b01372d839a36c.tar.gz
gcc-74b846e0def7675566fc4dd849b01372d839a36c.tar.bz2
cp-tree.h (scope_kind): New type.
* cp-tree.h (scope_kind): New type. (tmpl_spec_kind): Likewise. (declare_pseudo_global_level): Remove. (pseudo_global_level_p): Rename to template_parm_scope_p. (pushlevel): Remove declaration. (begin_scope): New function. (finish_scope): Likewise. (current_tmpl_spec_kind): Likewise. * decl.c (struct binding_level): Shorten parm_flag to 2 bits. Shorten keep to 2 bits. Rename pseudo_global to template_parms_p. Add template_spec_p. (toplevel_bindings_p): Adjust. (declare_pseudo_global_level): Remove. (pseudo_global_level_p): Rename to template_parm_scope_p. (current_tmpl_spec_kind): New function. (begin_scope): Likewise. (finish_scope): Likewise. (maybe_push_to_top_level): Adjust. (maybe_process_template_type_declaration): Likewise. (pushtag): Likewise. (pushdecl_nonclass_level): Likewise. (lookup_tag): Likewise. (grokfndecl): Handle member template specializations. Share constructor and non-constructor code. * decl2.c (check_classfn): Handle member template specializations. * pt.c (begin_template_parm_list): Use begin_scope. (begin_specialization): Likewise. (end_specialization): Likewise. (check_explicit_specialization): Use current_tmpl_spec_kind. Handle member template specializations. (end_template_decl): Use finish_scope. Remove call to get_pending_sizes. (push_template_decl_real): Remove bogus error message. (tsubst_decl): Fix typo in code contained in comment. (instantiate_template): Handle member template specializations. (most_general_template): Likewise. From-SVN: r32494
Diffstat (limited to 'gcc/cppinit.c')
0 files changed, 0 insertions, 0 deletions