diff options
author | Jason Merrill <jason@redhat.com> | 2010-07-15 16:45:35 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2010-07-15 16:45:35 -0400 |
commit | 10746f37151f5301116f642efa6b9a19c17e2aee (patch) | |
tree | d24edade7e9292821567ee6d7750184f5d39c55d /gcc/function.c | |
parent | 8e7af53e4a83fec17fed87aa5193f9144f1061e3 (diff) | |
download | gcc-10746f37151f5301116f642efa6b9a19c17e2aee.zip gcc-10746f37151f5301116f642efa6b9a19c17e2aee.tar.gz gcc-10746f37151f5301116f642efa6b9a19c17e2aee.tar.bz2 |
re PR c++/44909 ([C++0x] Copy constructors implicitly deleted)
PR c++/44909
* call.c (add_function_candidate): If we're working on an implicit
declaration, don't consider candidates that won't match.
* typeck.c (same_type_ignoring_top_level_qualifiers_p): Now a fn.
* cp-tree.h (same_type_ignoring_top_level_qualifiers_p): Adjust.
Revert:
* cp-tree.h (struct lang_type_class): Add has_user_opeq.
(TYPE_HAS_USER_OPEQ): New.
* decl.c (grok_special_member_properties): Set it.
* class.c (add_implicitly_declared_members): Don't lazily declare
constructors/operator= if a base or member has a user-declared one.
(check_bases_and_members, check_bases): Adjust.
(check_field_decls, check_field_decl): Adjust.
From-SVN: r162233
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions