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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ChangeLog | Loading commit data... | |
Makefile.am | Loading commit data... | |
Makefile.in | Loading commit data... | |
aclocal.m4 | Loading commit data... | |
callbacks.cc | Loading commit data... | |
callbacks.hh | Loading commit data... | |
cc1plugin-config.h.in | Loading commit data... | |
configure | Loading commit data... | |
configure.ac | Loading commit data... | |
connection.cc | Loading commit data... | |
connection.hh | Loading commit data... | |
findcomp.cc | Loading commit data... | |
findcomp.hh | Loading commit data... | |
libcc1.cc | Loading commit data... | |
libcc1.sym | Loading commit data... | |
libcc1plugin.cc | Loading commit data... | |
libcc1plugin.sym | Loading commit data... | |
libcp1.cc | Loading commit data... | |
libcp1plugin.cc | Loading commit data... | |
libcp1plugin.sym | Loading commit data... | |
marshall-c.hh | Loading commit data... | |
marshall-cp.hh | Loading commit data... | |
marshall.cc | Loading commit data... | |
marshall.hh | Loading commit data... | |
names.cc | Loading commit data... | |
names.hh | Loading commit data... | |
rpc.hh | Loading commit data... | |
status.hh | Loading commit data... |