gcc/libcc1
Nathan Sidwell 9d029ddfda cp-tree.h (OVL_P): New.
gcc/cp
	* cp-tree.h (OVL_P): New.
	* name-lookup.h (push_local_binding): Delete.
	(do_toplevel_using_decl, do_local_using_decl): Rename to ...
	(finish_namespace_using_decl, finish_local_using_decl): ... here
	* name-lookup.c (add_decl_to_level): Swap args.
	(pop_bindings_and_leave_scope): Look inside TREE_LIST.
	(diagnose_name_conflict): Check contexts are same for redecl.
	(update_local_overload): New.
	(compparms_for_decl_and_using): Rename to ...
	(matching_fn_p): ... here.
	(pushdecl_maybe_friend_1): Adjust add_decl_to_level,
	push_local_bindings call.
	(push_local_binding): Make static, replace FLAGS arg with
	IS_USING.
	(validate_nonmember_using_decl): Use OVL_FIRST.
	(do_nonmember_using_decl): Use in/out parameters.  Use
	lkp_iterator and simplify.
	(do_toplevel_using_decl, do_local_using_decl): Rename to ...
	(finish_namespace_using_decl, finish_local_using_decl): ... here.
	Adjust.
	(lookup_type_current_level): Delete.
	* parser.c (cp_parser_using_declaration): Adjust.
	* pt.c (tsubst_expr): Adjust.

	libcc1/
	* libcp1plugin.cc (plugin_add_using_decl): Call
	finish_namespace_using_decl.  Use assert not unreachable.

	gcc/testsuite/
	* g++.dg/lookup/using13.C: Adjust expected error.

From-SVN: r248364
2017-05-23 10:58:57 +00:00
..
aclocal.m4
callbacks.cc
callbacks.hh
cc1plugin-config.h.in
ChangeLog cp-tree.h (OVL_P): New. 2017-05-23 10:58:57 +00:00
configure re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
configure.ac re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
connection.cc
connection.hh
findcomp.cc libcc1: return absolute filename from make search_dir 2017-01-31 01:01:32 +00:00
findcomp.hh
libcc1.cc Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
libcc1.sym Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
libcc1plugin.cc Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
libcc1plugin.sym
libcp1.cc Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
libcp1plugin.cc cp-tree.h (OVL_P): New. 2017-05-23 10:58:57 +00:00
libcp1plugin.sym Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
Makefile.am Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
Makefile.in Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
marshall-c.hh Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
marshall-cp.hh Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
marshall.cc Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
marshall.hh Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
names.cc Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
names.hh Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
rpc.hh Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
status.hh