aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2001-12-09 16:33:44 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2001-12-09 16:33:44 +0000
commit271e6f02a18b2d480c55b7bdee57bc4de7edc02a (patch)
tree47497fa5c9fd195f980d2e24398c007ac46ceca9 /gcc/function.c
parentb3656137984c755671e79da32c66379c0a4d2425 (diff)
downloadgcc-271e6f02a18b2d480c55b7bdee57bc4de7edc02a.zip
gcc-271e6f02a18b2d480c55b7bdee57bc4de7edc02a.tar.gz
gcc-271e6f02a18b2d480c55b7bdee57bc4de7edc02a.tar.bz2
re PR c++/87 (member template assignment operator)
cp: PR g++/87 * cp-tree.h (DECL_COPY_CONSTRUCTOR_P): Use copy_fn_p. (copy_args_p): Rename to ... (copy_fn_p): ... here. (grok_special_member_properties): New function. (grok_op_properties): Lose VIRTUALP parameter. (copy_assignment_arg_p): Remove. * call.c (build_over_call): Use copy_fn_p. * decl.c (grokfndecl): Reformat. Adjust call to grok_op_properties. (copy_args_p): Rename to ... (copy_fn_p): ... here. Reject template functions. Check for pass by value. (grok_special_member_properties): Remember special functions. (grok_ctor_properties): Don't remember them here, just check. (grok_op_properties): Likewise. (start_method): Call grok_special_member_properties. * decl2.c (grokfield): Likewise. (copy_assignment_arg_p): Remove. (grok_function_init): Don't remember abstract assignment here. * pt.c (instantiate_class_template): Call grok_special_member_properties. (tsubst_decl): Adjust grok_op_properties call. testsuite: * g++.dg/other/copy1.C: New test. From-SVN: r47813
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions