From: Jason Merrill Date: Tue, 2 Jan 2001 19:37:39 +0000 (-0500) Subject: tweak formatting X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=381ddaa6e1e86b6c4b6702ee0ece25d81d19f7fa;p=gcc.git tweak formatting From-SVN: r38635 --- diff --git a/gcc/cp/class.c b/gcc/cp/class.c index db4b480538c..63732687653 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -5876,8 +5876,7 @@ resolve_address_of_overloaded_function (target_type, /* Check that the TARGET_TYPE is reasonable. */ if (TYPE_PTRFN_P (target_type)) - /* This is OK. */ - ; + /* This is OK. */; else if (TYPE_PTRMEMFUNC_P (target_type)) /* This is OK, too. */ is_ptrmem = 1; @@ -5891,8 +5890,9 @@ resolve_address_of_overloaded_function (target_type, else { if (complain) - cp_error("cannot resolve overloaded function `%D' based on conversion to type `%T'", - DECL_NAME (OVL_FUNCTION (overload)), target_type); + cp_error ("\ +cannot resolve overloaded function `%D' based on conversion to type `%T'", + DECL_NAME (OVL_FUNCTION (overload)), target_type); return error_mark_node; }