https://gcc.gnu.org/ml/gcc-patches/2019-05/msg01396.html gcc/cp/ * name-lookup.h (struct cp_binding_level): Drop usings field. (finish_namespace_using_decl, finish_local_using_decl): Replace with ... (finish_nonmember_using_decl): ... this. * name-lookup.c (push_using_decl_1, push_using_decl): (do_nonmember_using_decl): ... here. Add INSERT_P arg. Reimplement. (validate_nonmember_using_decl, finish_namespace_using_decl) (finish_local_using_decl): Replace with ... (finish_nonmember_using_decl): ... this. Drop DECL parm. * parser.c (cp_parser_using_declaration): Don't do lookup here. * pt.c (tsubst_expr): Do not do using decl lookup here. gcc/testsuite/ * g++.dg/lookup/using53.C: Adjust diagnostic. libcc1/ * libcp1plugin.cc (plugin_add_using_decl): Use finish_nonmember_using_decl. From-SVN: r271467
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... | |
compiler-name.hh | 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... |