[cfe-dev] TextDiagnosticPrinter small patch

Alexei Svitkine alexei.svitkine at gmail.com
Fri Jan 30 10:54:06 PST 2009


Thanks. Here's a patch that adds -fno-show-source-location.

-Alexei

On Fri, Jan 30, 2009 at 12:42 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On Jan 29, 2009, at 12:13 PM, Alexei Svitkine wrote:
>
>> Hi,
>>
>> Attached is a patch for TextDiagnosticPrinter that adds an optional
>> parameter that allows users to omit the printing of the source
>> location on a diagnostic. So basically it would omit the "abc.c:5:1: "
>> at the beginning of the line.
>
> Ok, applied here:
> http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090126/011568.html
>
> Please provide a patch to add a command line option that controls this
> though, I prefer not to have dead code in the codebase, thanks!
>
> -Chris
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NoShowLocation.diff
Type: application/octet-stream
Size: 1194 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090130/520251f4/attachment.obj>


More information about the cfe-dev mailing list