1. 07 May, 1998 1 commit
  2. 06 May, 1998 9 commits
  3. 05 May, 1998 4 commits
  4. 03 May, 1998 1 commit
  5. 30 Apr, 1998 2 commits
  6. 28 Apr, 1998 2 commits
  7. 27 Apr, 1998 1 commit
  8. 26 Apr, 1998 3 commits
    • cp-tree.h (CLASSTYPE_IS_TEMPLATE): New macro. · 6757edfe
      	* cp-tree.h (CLASSTYPE_IS_TEMPLATE): New macro.
      	(DECL_CLASS_TEMPLATE_P): Likewise.
      	(DECL_PRIMARY_TEMPLATE): Likewise.
      	(PRIMARY_TEMPLATE_P): Use it.
      	(push_template_decl_real): New function.
      	(redeclare_class_template): Take new template parameters as
      	input.
      	(is_specialization_of): New function.
      	(comp_template_args): Declare.
      	* decl.c (pushtag): Handle friend template classes.
      	(xref_tag): Likewise.  Use new calling convention for
      	redeclare_class_template.
      	* decl2.c (grok_x_components): Handle friend templates.
      	* friend.c (is_friend): Use is_specialization_of where
      	appropriate.  Deal with friend class templates.
      	(make_friend_class): Let a class template be friends with itself.
      	* pt.c (comp_template_args): Remove declaration.
      	(tsubst_friend_class): New function.
      	(push_template_decl_real): New function.
      	(push_template_decl): Use it.
      	(redeclare_class_template): Adjust for new calling convention.
      	(comp_template_args): Give it external linkage.
      	(instantiate_class_type): Use tsubst_friend_class to deal
      	with friend templates.
      	* typeck.c (comptypes): Use comp_template_args, rather than
      	expanding it inline.
      	* parse.y (component_decl): Handle a nested template type
      	like other component type declarations.
      
      From-SVN: r19418
      Mark Mitchell committed
    • pt.c (mabybe_get_template_decl_from_type_decl): New function. · a2b60a0e
      	* pt.c (mabybe_get_template_decl_from_type_decl): New function.
      	(lookup_template_class): Use it.
      
      From-SVN: r19414
      Mark Mitchell committed
    • pt.c (check_explicit_specialization): Handle overloaded constructors correctly. · 42da2fd8
      	* pt.c (check_explicit_specialization): Handle overloaded
      	constructors correctly.
      
      From-SVN: r19413
      Mark Mitchell committed
  9. 23 Apr, 1998 4 commits
  10. 22 Apr, 1998 3 commits
  11. 21 Apr, 1998 8 commits
  12. 18 Apr, 1998 1 commit
  13. 17 Apr, 1998 1 commit
    • cp-tree.h (type_as_string_real): New function. · 294471c3
      Fri Apr 17 21:25:00 1998  Mark Mitchell  <mmitchell@usa.net>
      	* cp-tree.h (type_as_string_real): New function.
      	* pt.c (mangle_class_name_for_template): Use it.
      	* error.c (dump_aggr_type): Change prototype.
      	(dump_type_prefix): Likewise.
      	(dump_type_suffix): Likewise.
      	(dump_type_real): Convert from dump_type.  If desired, the
      	"canonica" name of a typedef, i.e., the name of the underlying
      	type, can be printed.
      	(dump_type): Call dump_type_real.
      
      From-SVN: r19273
      Mark Mitchell committed