aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppalloc.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@markmitchell.com>1999-01-21 14:29:33 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-01-21 14:29:33 +0000
commit297e73d807cc311d7a49f5b96729f03fde333da5 (patch)
treebaf338e3c55393da72e8f2f9e50fa81ec5ca6a34 /gcc/cppalloc.c
parent939b4a73dbf5ef563c9567c68c6d8e56708f964d (diff)
downloadgcc-297e73d807cc311d7a49f5b96729f03fde333da5.zip
gcc-297e73d807cc311d7a49f5b96729f03fde333da5.tar.gz
gcc-297e73d807cc311d7a49f5b96729f03fde333da5.tar.bz2
cp-tree.h (PARM_DECL_EXPR): Delete.
* cp-tree.h (PARM_DECL_EXPR): Delete. (convert_default_arg): Change prototype. (check_default_argument): Declare. (search_tree): Likewise. * call.c (convert_default_arg): Take the function to which the default argument belongs as a parameter, and do any necessary instantiation here, instead of ... (build_over_call): Here. * decl.c (local_variable_p): New function. (check_default_argument): Likewise, split out and tidied from ... (grokparms): Here. * error.c (dump_expr): Don't set PARM_DECL_EXPR. * pt.c (tsubst_call_declarator_parms): New function. (for_each_template_parm): Handle ARRAY_REFs. Do the obvious thing with CALL_EXPRs, rather than trying to be clever. (tsubst): Use tsubst_call_declarator_parms. * tree.c (search_tree): Don't make it static. * typeck.c (convert_arguments): Use new interface to convert_default_arg. From-SVN: r24803
Diffstat (limited to 'gcc/cppalloc.c')
0 files changed, 0 insertions, 0 deletions