* [obv] indent 'no known conversion' diagnostic messages from overload resolution
@ 2010-12-10 6:11 Nathan Froyd
0 siblings, 0 replies; only message in thread
From: Nathan Froyd @ 2010-12-10 6:11 UTC (permalink / raw)
To: gcc-patches
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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-12-10 1:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-10 6:11 [obv] indent 'no known conversion' diagnostic messages from overload resolution Nathan Froyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).