diff options
author | Jason Merrill <jason@gcc.gnu.org> | 1997-11-11 02:09:58 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1997-11-11 02:09:58 -0500 |
commit | 00d3396fdbabe68ad2b7c64ac28c5608628c75ad (patch) | |
tree | bdf1e6e2cf3489fb92d44c2f7e6d2004a4513b78 /libio | |
parent | 1afc355025f984fb0b26d68a7337f987890e6042 (diff) | |
download | gcc-00d3396fdbabe68ad2b7c64ac28c5608628c75ad.zip gcc-00d3396fdbabe68ad2b7c64ac28c5608628c75ad.tar.gz gcc-00d3396fdbabe68ad2b7c64ac28c5608628c75ad.tar.bz2 |
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
Diffstat (limited to 'libio')
0 files changed, 0 insertions, 0 deletions