diff options
author | Pedro Alves <palves@redhat.com> | 2018-11-21 11:55:15 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2018-11-21 12:27:29 +0000 |
commit | 38139a9681a32e92f5c5b8437875d2726c009841 (patch) | |
tree | b1e515466e28addff99d4eb4410496f3e7520975 /gdb/ChangeLog | |
parent | 85cca2bcbc7833b33d4b61d7b7e0e75b9afa063b (diff) | |
download | gdb-38139a9681a32e92f5c5b8437875d2726c009841.zip gdb-38139a9681a32e92f5c5b8437875d2726c009841.tar.gz gdb-38139a9681a32e92f5c5b8437875d2726c009841.tar.bz2 |
valops.c: Overload resolution code: Rename parameters/locals
While looking over this code, I thought the names of the parameters to
find_oload_champ and related functions and locals were a bit too
cryptic. For example, FN_LIST holds methods, not free functions.
Free-functions are in OLOAD_SYMS.
This patch renames parameters/variables to the more obvious
methods/xmethods/functions instead.
gdb/ChangeLog:
2018-11-21 Pedro Alves <palves@redhat.com>
* valops.c (find_method_list, value_find_oload_method_list)
(find_overload_match, find_oload_champ): Rename parameters and
locals.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ff9eed7..d81d500 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2018-11-21 Pedro Alves <palves@redhat.com> + * valops.c (find_method_list, value_find_oload_method_list) + (find_overload_match, find_oload_champ): Rename parameters and + locals. + +2018-11-21 Pedro Alves <palves@redhat.com> + * valops.c (find_method_list): Replace pointer and length parameters with an gdb::array_view. Adjust. (value_find_oload_method_list): Likewise. |