ir.texi: Document DECL_TEMPLATE_INSTANTIATIONS.

2000-02-17  Mark Mitchell  <mark@codesourcery.com>

	* ir.texi: Document DECL_TEMPLATE_INSTANTIATIONS.

From-SVN: r32042
This commit is contained in:
Mark Mitchell 2000-02-17 20:45:49 +00:00 committed by Mark Mitchell
parent 61d846051a
commit 2269eec3b9
4 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2000-02-17 Mark Mitchell <mark@codesourcery.com>
* ir.texi: Document DECL_TEMPLATE_INSTANTIATIONS.
* decl2.c (lang_decode_option): Don't set default message length
here.
* lex.c (lang_init_options): Set it here.

View File

@ -609,6 +609,7 @@ dequeue_and_dump (di)
break;
case TEMPLATE_DECL:
dump_child ("inst", DECL_TEMPLATE_INSTANTIATIONS (t));
dump_child ("spcs", DECL_TEMPLATE_SPECIALIZATIONS (t));
break;

View File

@ -879,6 +879,11 @@ can safely ignore @code{TEMPLATE_DECL}s, but should examine
@code{FUNCTION_DECL} nodes on the specializations list just as they
would ordinary @code{FUNCTION_DECL} nodes.
For a class template, the @code{DECL_TEMPLATE_INSTANTIATIONS} list
contains the instantiations. The @code{TREE_VALUE} of each node is an
instantiation of the class. The @code{DECL_TEMPLATE_SPECIALIZATIONS}
contains partial specializations of the class.
@item THUNK_DECL
These nodes represent stub code that adjusts the @code{this} pointer and

View File

@ -446,6 +446,8 @@ lang_init_options ()
flag_exceptions = 1;
/* Mark as "unspecified". */
flag_bounds_check = -1;
/* By default wrap lines at 72 characters. */
set_message_length (72);
}
void