patch: fixit for characters with invalid source encoding

Eli Friedman eli.friedman at gmail.com
Tue Aug 20 20:35:43 PDT 2013


On Tue, Aug 20, 2013 at 8:08 PM, Nick Lewycky <nlewycky at google.com> wrote:

> The attached patch adds a fixit for invalid characters to replace them
> with the equivalent \xNN code. Please review!
>

You might want to put a warning on top of the test that this file isn't
valid UTF-8, despite appearing to be a text file.

Otherwise, looks good; nice idea!

-Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130820/43ce2ce9/attachment.html>


More information about the cfe-commits mailing list