aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@sourceware.org>2013-01-25 22:31:43 +0000
committerSiva Chandra Reddy <sivachandra@sourceware.org>2013-01-25 22:31:43 +0000
commit28c64fc2c0e1232b1c2b962139ca11e690e7633c (patch)
tree14d79230f402fd34f9ad9c616958b3b1173f44b8 /gdb/valops.c
parentfab128efbbbbc9fca50b7421c28f3306c7deacbf (diff)
downloadgdb-28c64fc2c0e1232b1c2b962139ca11e690e7633c.zip
gdb-28c64fc2c0e1232b1c2b962139ca11e690e7633c.tar.gz
gdb-28c64fc2c0e1232b1c2b962139ca11e690e7633c.tar.bz2
* valops.c (find_overload_match): Remove unused argument 'lax'.
* value.h: Remove unused argument 'lax' from the declaration of find_overload_match. * eval.c (value_subexp_standard): Do not pass a 'lax' argument to find_overload_match. * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax' argument to find_overload_match.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index b9bc460..5b2abf4 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -2516,11 +2516,9 @@ value_find_oload_method_list (struct value **argp, const char *method,
/* Given an array of arguments (ARGS) (which includes an
entry for "this" in the case of C++ methods), the number of
- arguments NARGS, the NAME of a function whether it's a method or
- not (METHOD), and the degree of laxness (LAX) in conforming to
- overload resolution rules in ANSI C++, find the best function that
- matches on the argument types according to the overload resolution
- rules.
+ arguments NARGS, the NAME of a function, and whether it's a method or
+ not (METHOD), find the best function that matches on the argument types
+ according to the overload resolution rules.
METHOD can be one of three values:
NON_METHOD for non-member functions.
@@ -2559,7 +2557,7 @@ value_find_oload_method_list (struct value **argp, const char *method,
int
find_overload_match (struct value **args, int nargs,
const char *name, enum oload_search_type method,
- int lax, struct value **objp, struct symbol *fsym,
+ struct value **objp, struct symbol *fsym,
struct value **valp, struct symbol **symp,
int *staticp, const int no_adl)
{