class.c (classtype_has_move_assign_or_move_ctor): Declare.
authorNathan Sidwell <nathan@acm.org>
Tue, 18 Jul 2017 12:05:12 +0000 (12:05 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 18 Jul 2017 12:05:12 +0000 (12:05 +0000)
commit6b8e738ef0d43329a642f2e17fe4112a6af8701d
tree5f5fe24ac3dfcf1aebf0949a7218e706487ba410
parent694dd0e408581c9e3fc0fab4864d9de054c7cc0c
class.c (classtype_has_move_assign_or_move_ctor): Declare.

* class.c (classtype_has_move_assign_or_move_ctor): Declare.
(add_implicitly_declared_members): Use it.
(type_has_move_constructor, type_has_move_assign): Merge into ...
(classtype_has_move_assign_or_move_ctor): ... this new function.
* cp-tree.h (type_has_move_constructor, type_has_move_assign): Delete.

From-SVN: r250305
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h