<div dir="ltr">Looks fine, the lexer does this, as well as other places.  Can you add an -frewrite-includes test for this?  I think you can rewrite, then run -cc1 -verify with // expected-no-diagnostics or something like that.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 27, 2013 at 3:50 AM, Lubos Lunak <span dir="ltr"><<a href="mailto:l.lunak@centrum.cz" target="_blank">l.lunak@centrum.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 Hello,<br>
<br>
 could somebody please review the attached simple patch for PR15664?<br>
<br>
 The patch intentionally doesn't do anything fancy except simply removing the<br>
BOM (which should be unnecessary for UTF-8 anyway). I'm not sure what<br>
handling other UTF encodings would exactly require, and it's surely better to<br>
keep the compilation obviously fail for whoever will possibly run into that<br>
one day and provide a testcase.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
 Lubos Lunak<br>
</font></span><br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>