diff options
author | swagiaal <swagiaal> | 2009-07-07 17:25:10 +0000 |
---|---|---|
committer | swagiaal <swagiaal> | 2009-07-07 17:25:10 +0000 |
commit | dbc889031bdbd9c2c94bc627d87c2e26154c981f (patch) | |
tree | bf5c8f8a4d8397f6dc74a2b49c874e2a5a6d5cec /gdb/cp-support.c | |
parent | 6c4d67050670160b661a75c93a66e91e809d40f0 (diff) | |
download | gdb-dbc889031bdbd9c2c94bc627d87c2e26154c981f.tar.gz |
2009-07-07 Sami Wagiaalla <swagiaal@redhat.com>
* cp-support.h (struct using_direct): Rename members inner and
outer to import_src, and import_dest respectively.
* cp-namespace.c (cp_add_using_directive): Update.
(cp_add_using): Update.
(cp_copy_usings): Update.
(cp_lookup_symbol_namespace): Update.
(cp_scan_for_anonymous_namespaces): Update.
* cp-support.c (make_symbol_overload_list_using): Update.
* cp-support.h (cp_add_using_directive, cp_add_using): Rename
arguments from inner and outer to src and dest respectively.
* cp-namespace.c (cp_add_using_directive): Ditto.
(cp_add_using): Ditto.
Diffstat (limited to 'gdb/cp-support.c')
-rw-r--r-- | gdb/cp-support.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cp-support.c b/gdb/cp-support.c index bf42636539f..f12d785f132 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -716,10 +716,10 @@ make_symbol_overload_list_using (const char *func_name, current != NULL; current = current->next) { - if (strcmp (namespace, current->outer) == 0) + if (strcmp (namespace, current->import_dest) == 0) { make_symbol_overload_list_using (func_name, - current->inner); + current->import_src); } } |