[C++ PATCH] Commonixe using directive finishing
authorNathan Sidwell <nathan@acm.org>
Mon, 20 May 2019 13:49:53 +0000 (13:49 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 20 May 2019 13:49:53 +0000 (13:49 +0000)
commit6db76e48c18bae5432634a83643542dacf2273e9
tree6d3edd79956d8bce5509eb3ddbba1ccf9ba719f5
parenteb061601564dfe61d8a2fe8519a7b6057af2b17d
[C++ PATCH] Commonixe using directive finishing

https://gcc.gnu.org/ml/gcc-patches/2019-05/msg01251.html
gcc/cp/
* name-lookup.c (finish_namespace_using_directive)
(finish_local_using_directive): Merge to ...
(finish_using_directive): ... here.  Handle both contexts.
* name-lookup.h (finish_namespace_using_directive)
(finish_local_using_directive): Replace with ...
(finish_using_directive): ... this.
* parser.c (cp_parser_using_directive): Adjust.
* pt.c (tsubst_expr): Likewise.

libcc1/
* libcp1plugin.cc (plugin_add_using_namespace): Call renamed
finish_using_directive.

From-SVN: r271420
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/cp/name-lookup.h
gcc/cp/parser.c
gcc/cp/pt.c
libcc1/ChangeLog
libcc1/libcp1plugin.cc