gcc/cp/
commita5aae789020dc54c7b09770e6b4b18974ed950fe
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 May 2017 16:34:40 +0000 (26 16:34 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 May 2017 16:34:40 +0000 (26 16:34 +0000)
tree143dc4fbc11d439ac1a7854bee45cf8542e9b7a6
parent41ff145bfa36015e8d7d15f389d81f22cebd34f8
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248518 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/name-lookup.c
gcc/cp/name-lookup.h
libcc1/ChangeLog
libcc1/libcp1plugin.cc