]> git.ipfire.org Git - thirdparty/gcc.git/commit
* cp-tree.h (abstract_class_use): New enum.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Mar 2013 02:36:55 +0000 (02:36 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Mar 2013 02:36:55 +0000 (02:36 +0000)
commitd28993f14ee1bfc66b41dddc3613d2c054201545
treeeffd0899444bec8cd82684550c9fc410b899aa0a
parent582e1759180a742545af40c7a02698b0494baef8
* cp-tree.h (abstract_class_use): New enum.
* typeck2.c (pending_abstract_type): Add use field.
(abstract_virtuals_error_sfinae): Add overloads taking
abstract_class_use instead of tree.
* typeck.c (build_static_cast_1): Call it.
* except.c (is_admissible_throw_operand_or_catch_parameter): Call it.
* pt.c: Adjust calls.
* decl.c (cp_finish_decl): Don't handle functions specially.
(grokdeclarator): Always check return type.
* init.c (build_new_1): Adjust call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196735 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/except.c
gcc/cp/init.c
gcc/cp/pt.c
gcc/cp/typeck.c
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/other/abstract5.C [new file with mode: 0644]