diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-05-10 13:12:57 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-05-10 13:12:57 +0000 |
commit | d5a2f455e69040cec63269e12307c4c4699850d5 (patch) | |
tree | 5a3ad15efba35f76f3ecbb3841eb39bdd7ad713f /libcc1 | |
parent | a529e0a697f7cbc16f4d8ea9c2dad9b4b761d96c (diff) | |
download | gcc-d5a2f455e69040cec63269e12307c4c4699850d5.zip gcc-d5a2f455e69040cec63269e12307c4c4699850d5.tar.gz gcc-d5a2f455e69040cec63269e12307c4c4699850d5.tar.bz2 |
cp-tree.h (add_method, [...]): Change last arg to bool.
gcc/cp/
* cp-tree.h (add_method, clone_function_decl): Change last arg to
bool.
* class.c (add_method): Change third arg to bool. Adjust.
(one_inheriting_sig, one_inherited_ctor): Adjust.
(clone_function_decl): Change 2nd arg to bool. Adjust.
(clone_constructors_and_destructors): Adjust.
* lambda.c (maybe_add_lambda_conv_op): Adjust.
* method.c (lazily_declare_fn): Adjust.
* pt.c (tsubst_decl, instantiate_template_1): Adjust.
* semantics.c (finish_member_declaration): Adjust.
libcc1/
* libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
From-SVN: r247834
Diffstat (limited to 'libcc1')
-rw-r--r-- | libcc1/ChangeLog | 4 | ||||
-rw-r--r-- | libcc1/libcp1plugin.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index a6b9985..17310a0 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,7 @@ +2017-05-10 Nathan Sidwell <nathan@acm.org> + + * libcp1plugin.cc (plugin_build_decl): Adjust add_method call. + 2017-04-15 Alexandre Oliva <aoliva@redhat.com> * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type. diff --git a/libcc1/libcp1plugin.cc b/libcc1/libcp1plugin.cc index 2464aa2..f67f8b3 100644 --- a/libcc1/libcp1plugin.cc +++ b/libcc1/libcp1plugin.cc @@ -1579,7 +1579,7 @@ plugin_build_decl (cc1_plugin::connection *self, reversal. */ tree save = DECL_CHAIN (decl); DECL_CHAIN (decl) = NULL_TREE; - clone_function_decl (decl, /*update_method_vec_p=*/1); + clone_function_decl (decl, /*update_methods=*/true); gcc_assert (TYPE_METHODS (current_class_type) == decl); TYPE_METHODS (current_class_type) = nreverse (TYPE_METHODS (current_class_type)); |