aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2015-06-23 10:08:25 -0400
committerJason Merrill <jason@gcc.gnu.org>2015-06-23 10:08:25 -0400
commit115ef7c52e7cae6101df2f062b4650c82e50072d (patch)
tree44310bb83003aec8c18da2121e39487979170bd2 /gcc/cp/cp-tree.h
parentd4c9e7f92225d829ad1d18c950066cf99fc58cc7 (diff)
downloadgcc-115ef7c52e7cae6101df2f062b4650c82e50072d.zip
gcc-115ef7c52e7cae6101df2f062b4650c82e50072d.tar.gz
gcc-115ef7c52e7cae6101df2f062b4650c82e50072d.tar.bz2
re PR c++/66501 (Default move assignment does not move array members)
PR c++/66501 * class.c (type_has_nontrivial_assignment): New. * init.c (build_vec_init): Use it. * cp-tree.h: Declare it. * method.c (trivial_fn_p): Templates aren't trivial. From-SVN: r224843
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index b53aa90..8eb7474 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -5295,6 +5295,7 @@ extern tree in_class_defaulted_default_constructor (tree);
extern bool user_provided_p (tree);
extern bool type_has_user_provided_constructor (tree);
extern bool type_has_non_user_provided_default_constructor (tree);
+extern bool type_has_nontrivial_assignment (tree);
extern bool vbase_has_user_provided_move_assign (tree);
extern tree default_init_uninitialized_part (tree);
extern bool trivial_default_constructor_is_constexpr (tree);