Commit 381ddaa6 by Jason Merrill

tweak formatting

From-SVN: r38635
parent e2134eea
...@@ -5876,8 +5876,7 @@ resolve_address_of_overloaded_function (target_type, ...@@ -5876,8 +5876,7 @@ resolve_address_of_overloaded_function (target_type,
/* Check that the TARGET_TYPE is reasonable. */ /* Check that the TARGET_TYPE is reasonable. */
if (TYPE_PTRFN_P (target_type)) if (TYPE_PTRFN_P (target_type))
/* This is OK. */ /* This is OK. */;
;
else if (TYPE_PTRMEMFUNC_P (target_type)) else if (TYPE_PTRMEMFUNC_P (target_type))
/* This is OK, too. */ /* This is OK, too. */
is_ptrmem = 1; is_ptrmem = 1;
...@@ -5891,8 +5890,9 @@ resolve_address_of_overloaded_function (target_type, ...@@ -5891,8 +5890,9 @@ resolve_address_of_overloaded_function (target_type,
else else
{ {
if (complain) if (complain)
cp_error("cannot resolve overloaded function `%D' based on conversion to type `%T'", cp_error ("\
DECL_NAME (OVL_FUNCTION (overload)), target_type); cannot resolve overloaded function `%D' based on conversion to type `%T'",
DECL_NAME (OVL_FUNCTION (overload)), target_type);
return error_mark_node; return error_mark_node;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment