]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/tree.c
call.c (build_new_method_call): Handle getting a TEMPLATE_ID_EXPR around a TEMPLATE_DECL.
authorJason Merrill <jason@gcc.gnu.org>
Tue, 11 Nov 1997 07:09:58 +0000 (02:09 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 11 Nov 1997 07:09:58 +0000 (02:09 -0500)
commit00d3396fdbabe68ad2b7c64ac28c5608628c75ad
treebdf1e6e2cf3489fb92d44c2f7e6d2004a4513b78
parent1afc355025f984fb0b26d68a7337f987890e6042
call.c (build_new_method_call): Handle getting a TEMPLATE_ID_EXPR around a TEMPLATE_DECL.

* call.c (build_new_method_call): Handle getting a
  TEMPLATE_ID_EXPR around a TEMPLATE_DECL.  Don't look for a field
  if we got template parms.
* typeck.c (build_x_function_call): Remember the TEMPLATE_ID_EXPR,
  not just the args.
* decl2.c (build_expr_from_tree): Tweak last change.
* pt.c (tsubst_copy): Use get_first_fn instead of TREE_VALUE.
(maybe_fold_nontype_arg): Split out from tsubst_copy.
* tree.c (get_first_fn): Just return a TEMPLATE_ID_EXPR.

Mon Nov 10 20:08:38 1997  Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>

* pt.c (tsubst_copy): Handle explicit template arguments in
function calls.
* typeck.c (build_x_function_call): Likewise.
* decl2.c (build_expr_from_tree): Lookup function name if it
hasn't been done.

* pt.c (tsubst): Instantiate template functions properly when
template parameter does not appear in function arguments and return
type.
(comp_template_args): Handle member templates required by tsubst.

From-SVN: r16427
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl2.c
gcc/cp/pt.c
gcc/cp/tree.c
gcc/cp/typeck.c
This page took 0.066622 seconds and 5 git commands to generate.