On Tue, Jun 12, 2012 at 11:41 PM, Sean Silva <[email protected]> wrote:
> + assert((Kind == StringLiteral::Ascii || Kind == StringLiteral::UTF8) && > + "Only narrow string literals are currently supported"); > > 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? > This function should not be called in such a case. Clang code does not typically attempt to recover after an assertion has failed.
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
