diff options
Diffstat (limited to 'libcc1')
-rw-r--r-- | libcc1/ChangeLog | 5 | ||||
-rw-r--r-- | libcc1/libcp1plugin.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index 376e3622410..e243e554d64 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,8 @@ +2019-05-21 Nathan Sidwell <nathan@acm.org> + + * libcp1plugin.cc (plugin_add_using_decl): Use + finish_nonmember_using_decl. + 2019-05-20 Nathan Sidwell <nathan@acm.org> * libcp1plugin.cc (plugin_add_using_namespace): Call renamed diff --git a/libcc1/libcp1plugin.cc b/libcc1/libcp1plugin.cc index eed94662f85..d241ea1033d 100644 --- a/libcc1/libcp1plugin.cc +++ b/libcc1/libcp1plugin.cc @@ -1019,7 +1019,7 @@ plugin_add_using_decl (cc1_plugin::connection *, { /* We can't be at local scope. */ gcc_assert (at_namespace_scope_p ()); - finish_namespace_using_decl (target, tcontext, identifier); + finish_nonmember_using_decl (tcontext, identifier); } return 1; |