This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[obv] indent 'no known conversion' diagnostic messages from overload resolution
- From: Nathan Froyd <froydnj at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 9 Dec 2010 20:32:44 -0500
- Subject: [obv] indent 'no known conversion' diagnostic messages from overload resolution
When I broke these out into a separate function, I deleted the
indentation that these messages were supposed have. Fixed like so,
committed as obvious.
-Nathan
* call.c (print_conversion_rejection): Indent messages two spaces.
Index: call.c
===================================================================
--- call.c (revision 167675)
+++ call.c (working copy)
@@ -2945,10 +2945,11 @@ print_conversion_rejection (location_t l
{
if (info->n_arg == -1)
/* Conversion of implicit `this' argument failed. */
- inform (loc, "no known conversion for implicit %<this%> parameter from %qT to %qT",
+ inform (loc, " no known conversion for implicit "
+ "%<this%> parameter from %qT to %qT",
info->from_type, info->to_type);
else
- inform (loc, "no known conversion for argument %d from %qT to %qT",
+ inform (loc, " no known conversion for argument %d from %qT to %qT",
info->n_arg+1, info->from_type, info->to_type);
}