This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r248518 - in /trunk: gcc/cp/ChangeLog gcc/cp/ca...
- From: nathan at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 26 May 2017 16:34:41 -0000
- Subject: r248518 - in /trunk: gcc/cp/ChangeLog gcc/cp/ca...
Author: nathan
Date: Fri May 26 16:34:40 2017
New Revision: 248518
URL: https://gcc.gnu.org/viewcvs?rev=248518&root=gcc&view=rev
Log:
gcc/cp/
* call.c (build_operator_new_call): Do namelookup and ADL here.
(build_new_op_1): Likewise.
* name-lookup.h (lookup_function_nonclass): Delete declaration.
(do_using_directive): Likewise.
* name-lookup.c (set_namespace_binding, push_local_binding): Don't
declare early.
(struct scope_binding): Delete.
(EMPTY_SCOPE_BINDING): Delete.
(set_decl_namespace): Use OVL_P.
(finish_local_using_decl): Lose unnecesary checks.
(lookup_function_nonclass): Delete.
(cp_emit_debug_info_for_using): Use MAYBE_BASELINK_P.
libcc1/
* libcp1plugin.cc (plugin_add_using_namespace): Call
finish_namespace_using_directive.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/name-lookup.c
trunk/gcc/cp/name-lookup.h
trunk/libcc1/ChangeLog
trunk/libcc1/libcp1plugin.cc