[cfe-commits] [PATCH] fix for diagnostic output with null characters

Seth Cantrell seth.cantrell at gmail.com
Sun Apr 1 13:46:08 PDT 2012


please review this fix for displaying diagnostics where the source include null characters. It replaces output such as

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.png
Type: image/png
Size: 12325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120401/776dabf1/attachment.png>
-------------- next part --------------


With

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.png
Type: image/png
Size: 13325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120401/776dabf1/attachment-0001.png>
-------------- next part --------------


(This output and the test I'm including use my other patch as well, but the fix is entirely independent)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-display-of-source-lines-with-null-characters.patch
Type: application/octet-stream
Size: 2023 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120401/776dabf1/attachment.obj>


More information about the cfe-commits mailing list