<div class="gmail_quote">On Tue, Jun 12, 2012 at 11:41 PM, Sean Silva <span dir="ltr"><<a href="mailto:silvas@purdue.edu" target="_blank">silvas@purdue.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><span style="font-size:13px;font-family:arial,sans-serif">+ assert((Kind == StringLiteral::Ascii || Kind == StringLiteral::UTF8) &&</span><br style="font-size:13px;font-family:arial,sans-serif">
<span style="font-size:13px;font-family:arial,sans-serif">+ "Only narrow string literals are currently supported");</span><div><font face="arial, sans-serif"><br></font></div>
</div><div><font face="arial, sans-serif">If a non-narrow string-literal is encountered with asserts off, will this just continue on and silently corrupt the rest of the compilation? Or will parsing the non-narrow string literal gracefully fail somewhere earlier in the pipeline?</font></div>
</blockquote><div><br></div><div>This function should not be called in such a case. Clang code does not typically attempt to recover after an assertion has failed.</div></div>