-
nathan authored
(itf_ptrmem_ok): New enumeration value. * class.c (resolve_address_of_overloaded_function): Add PTRMEM argument. Diagnose implicit pointer to member. (instantiate_type): Don't diagnose implicit pointer to member here. Pass itf_ptrmem_ok if ok. Adjust calls to resolve_address_of_overloaded_function. * init.c (build_offset_ref): Set PTRMEM_OK_P. (resolve_offset_ref): Don't diagnose implicit pointer to member here. * semantics.c (finish_parenthesized_expr): Clear OFFSET_REFs here. * typeck.c (build_x_unary_op): Calculate PTRMEM_OK_P. (build_unary_op): Deal with single non-static member in microsoft-land. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35777 138bc75d-0d04-0410-961f-82ee72b054a4
30efa7ed