summaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorsivachandra <sivachandra>2013-01-25 22:31:40 +0000
committersivachandra <sivachandra>2013-01-25 22:31:40 +0000
commitf237e6333de59daa74df1273b9e7b22424a39088 (patch)
tree402dcee136ab03e995c764a9e4cdc71141851c34 /gdb/valops.c
parent5708ea0f50ecfcd70e12bcd904ba5e75e3c1edcb (diff)
downloadgdb-f237e6333de59daa74df1273b9e7b22424a39088.tar.gz
* 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 b9bc460fa67..5b2abf4af89 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)
{