* 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.
This commit is contained in:
Siva Chandra Reddy 2013-01-25 22:31:43 +00:00
parent fab128efbb
commit 28c64fc2c0
5 changed files with 16 additions and 11 deletions

View file

@ -1590,7 +1590,6 @@ evaluate_subexp_standard (struct type *expect_type,
find_overload_match (&argvec[1], nargs, func_name,
NON_METHOD, /* not method */
0, /* strict match */
NULL, NULL, /* pass NULL symbol since
symbol is unknown */
NULL, &symp, NULL, 0);
@ -1626,7 +1625,6 @@ evaluate_subexp_standard (struct type *expect_type,
(void) find_overload_match (&argvec[1], nargs, tstr,
METHOD, /* method */
0, /* strict match */
&arg2, /* the object */
NULL, &valp, NULL,
&static_memfuncp, 0);
@ -1698,7 +1696,6 @@ evaluate_subexp_standard (struct type *expect_type,
(void) find_overload_match (&argvec[1], nargs,
NULL, /* no need for name */
NON_METHOD, /* not method */
0, /* strict match */
NULL, function, /* the function */
NULL, &symp, NULL, no_adl);