1. 23 Nov, 1999 2 commits
    • cp-tree.def (FUNCTION_NAME): New tree node. · f9817201
      	* cp-tree.def (FUNCTION_NAME): New tree node.
      	* cp-tree.h (current_function_name_declared): Tweak documentation.
      	(lang_decl_flags): Add pretty_function_p, adjust dummy.
      	(DECL_PRETTY_FUNCTION_P): New macro.
      	* decl.c (cp_finish_decl): Handle declarations of __FUNCTION__,
      	etc., in a template function.  Use at_function_scope_p instead of
      	expanding it inline.
      	* pt.c (tsubst_decl): Handle DECL_PRETTY_FUNCTION_P declarations
      	specially.
      	(tsubst): Handle FUNCTION_NAME.
      	(tsubst_copy): Likewise.
      	(instantiate_decl): Prevent redeclarations of __PRETTY_FUNCTION__,
      	etc. in instantiation.
      	* semantics.c (begin_compound_stmt): Declare __FUNCTION__, etc.,
      	even in template functions.
      	(setup_vtbl_ptr): Don't declare __PRETTY_FUNCTION in the
      	conditional scope at the top of a destructor.
      
      	* error.c (dump_function_decl): Use `[ with ... ]' syntax for
      	specializations too.
      
      From-SVN: r30625
      Mark Mitchell committed
    • dwarf2out.c (die_struct): Remove die_attr_last and die_child_last. · a96c67ec
              * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
              (add_dwarf_attr, add_child_die): Just push onto the front.
              (reverse_die_lists): New fn.
              (add_sibling_attributes): Use it.
              (push_decl_scope): Reorganize.
              (gen_struct_or_union_type_die): Don't add a DW_AT_containing_type
              that points to ourself.
              (add_name_and_src_coords_attributes): Don't set file and line for
              an artificial decl.
              (gen_subprogram_die): An artificial function doesn't need to match
              file and line.
              (gen_compile_unit_die): Return the generated die.  Only add
              AT_comp_dir if the filename is relative.
              (remove_AT): Simplify loop.  Also free string values.
              (output_die): A DIE ref can't be null.
              (output_value_format, value_format): Take a dw_attr_ref.
              (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
              (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
              AT_addr, AT_lbl): New fns.
              (various): Use them.
              (various): Constify.
      
      From-SVN: r30624
      Jason Merrill committed
  2. 22 Nov, 1999 15 commits
  3. 21 Nov, 1999 12 commits
  4. 20 Nov, 1999 1 commit
  5. 19 Nov, 1999 10 commits