]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/method.c
Implement exceptions specifiers for implicit member functions.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 3 Jan 2001 14:39:10 +0000 (14:39 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 3 Jan 2001 14:39:10 +0000 (14:39 +0000)
commit03378143aca4cb4276e6fb1d2f790ea58bdcaa86
treeacdad70455870f766fb7e96793203aa55d4c5eb1
parentfc5769d98c11b8e31c6e800cc90d751dd1ab9fc8
Implement exceptions specifiers for implicit member functions.

cp:
Implement exceptions specifiers for implicit member functions.
* cp-tree.h (merge_exceptions_specifiers): Declare new function.
* method.c (synthesize_exception_spec): New function.
(locate_dtor, locate_ctor, locate_copy): New functions.
(implicitly_declare_fn): Generate the exception spec too.
* search.c (check_final_overrider): Check artificial functions
too.
* typeck2.c (merge_exception_specifiers): New function.
testsuite:
* g++.old-deja/g++.eh/spec6.C: Remove remaining XFAIL.

From-SVN: r38659
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/method.c
gcc/cp/search.c
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.eh/spec6.C
This page took 0.061311 seconds and 5 git commands to generate.