diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-06-26 16:38:40 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2017-06-26 16:38:40 +0000 |
commit | d4d2dfdaba62089117142945b5711063b52c75fc (patch) | |
tree | f5118cecea9bdf4e8f1e7e2cf9925022e8215fa4 /libcc1 | |
parent | 190d672e1ed8c430f0a7c605d02df55eb9b874af (diff) |
gcc/cp/
* cp-tree.h (lang_decl_fn): Remove assignment_operator_p field.
(DECL_COMPLETE_CONSTRUCTOR_P): Directly compare
identifier.
(DECL_BASE_CONSTRUCTOR_P, DECL_COMPLETE_DESTRUCTOR_P)
DECL_BASE_DESTRUCTOR_P, DECL_DELETING_DESTRUCTOR_P): Likewise.
(DECL_ASSIGNMENT_OPERATOR_P): Use IDENTIFIER_ASSIGN_OP_P.
* decl.c (grok_op_properties): Adjust identifier checking.
* init.c (expand_default_init): Adjust identifier descision.
* method.c (implicitly_declare_fn): Don't use
DECL_ASSIGNMENT_OPERATOR_P.
* search.c (lookup_fnfields_1): Use IDENTIFIER_CTOR_P,
IDENTIFIER_DTOR_P.
* call.c (in_charge_arg_for_name): Reimplement.
(build_special_member_call): Use IDENTIFIER_CDTOR_P,
IDENTIFIER_DTOR_P.
libcc1/
* libcp1plugin.cc (plugin_build_decl): Don't set
DECL_ASSIGNMENT_OPERATOR_P.
(--This line, and those below, will be ignored--
M gcc/cp/init.c
M gcc/cp/decl.c
M gcc/cp/method.c
M gcc/cp/cp-tree.h
M gcc/cp/call.c
M gcc/cp/search.c
M gcc/cp/ChangeLog
M libcc1/ChangeLog
M libcc1/libcp1plugin.cc
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@249657 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcc1')
-rw-r--r-- | libcc1/ChangeLog | 5 | ||||
-rw-r--r-- | libcc1/libcp1plugin.cc | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index 1d3921b4e08..6a2d6238004 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,8 @@ +2017-06-26 Nathan Sidwell <nathan@acm.org> + + * libcp1plugin.cc (plugin_build_decl): Don't set + DECL_ASSIGNMENT_OPERATOR_P. + 2017-06-16 Nathan Sidwell <nathan@acm.org> * libcp1plugin.cc (plugin_build_decl): Adjust parm building. diff --git a/libcc1/libcp1plugin.cc b/libcc1/libcp1plugin.cc index 9d9221c8e50..bbe32e38bdc 100644 --- a/libcc1/libcp1plugin.cc +++ b/libcc1/libcp1plugin.cc @@ -1428,8 +1428,6 @@ plugin_build_decl (cc1_plugin::connection *self, if ((sym_flags & GCC_CP_FLAG_SPECIAL_FUNCTION) && opcode != ERROR_MARK) SET_OVERLOADED_OPERATOR_CODE (decl, opcode); - if (assop) - DECL_ASSIGNMENT_OPERATOR_P (decl) = true; } } else if (RECORD_OR_UNION_CODE_P (code)) |