This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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);
 }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]