[cfe-dev] TextDiagnosticPrinter small patch

Alexei Svitkine alexei.svitkine at gmail.com
Thu Jan 29 12:13:24 PST 2009


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.

If it can be added to the codebase, then it would make things easier
for me as I wouldn't need to make my own fork of that class with that
change. :)

-Alexei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TextDiagnosticPrinter.diff
Type: application/octet-stream
Size: 1491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090129/5fa963c8/attachment.obj>


More information about the cfe-dev mailing list