aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/xref.c
diff options
context:
space:
mode:
authorKriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>1998-07-11 23:06:46 -0400
committerJason Merrill <jason@gcc.gnu.org>1998-07-11 23:06:46 -0400
commit744fac594b8f707fc4bbb7acbdcf4b8753d4cd71 (patch)
tree3c114b63cc3899e04a8e8ac4bd43415fb4085f14 /gcc/cp/xref.c
parenteda600e865cff603d9398c48df114693da913458 (diff)
downloadgcc-744fac594b8f707fc4bbb7acbdcf4b8753d4cd71.zip
gcc-744fac594b8f707fc4bbb7acbdcf4b8753d4cd71.tar.gz
gcc-744fac594b8f707fc4bbb7acbdcf4b8753d4cd71.tar.bz2
typeck.c (comptypes, [...]): Add parameter comparison.
* typeck.c (comptypes, case TEMPLATE_TEMPLATE_PARM): Add parameter comparison. * pt.c (for_each_template_parm, case TEMPLATE_DECL): If it is a template template parameter, record its use. (for_each_template_parm, case TEMPLATE_TEMPLATE_PARM): Traverse its template arguments if exists. * pt.c (coerce_template_template_parms): New function equivalent to coerce_template_parms when IS_TMPL_PARM is true. (coerce_template_parms): Use it. Remove the IS_TMPL_PARM parameter, all callers changed. (coerce_template_parms): Access ARGLIST properly when creating a new vector. Only accept implicit TYPE_DECL as valid argument for a template template parameter when it is a base class of current_class_type. Don't display error message when COMPLAIN is false. From-SVN: r21073
Diffstat (limited to 'gcc/cp/xref.c')
0 files changed, 0 insertions, 0 deletions