ttp1.C
179 Bytes
-
cp-tree.h (TYPE_BINFO): Update comment. · 11e74ea6
* cp-tree.h (TYPE_BINFO): Update comment. (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): New macro. (TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO): Use template_info. (TYPENAME_TYPE_FULLNAME): Use TYPE_FIELDS. (copy_type): Prototype new function. * lex.c (copy_lang_decl): Gather tree node statistics. (copy_lang_type): New function. (copy_type): Likewise. (cp_make_lang_type): Create lang_type for BOUND_TEMPLATE_TEMPLATE_PARM. Set TYPE_BINFO for TYPENAME_TYPE and BOUND_TEMPLATE_TEMPLATE_PARM. * pt.c (tsubst): Use copy_type instead of copy_node. * search.c (lookup_field_1): Ignore TYPENAME_TYPE. From-SVN: r46244
Kriang Lerdsuwanakij committed