[cfe-commits] [patch] Add support for UCNs in character literals
thakis at chromium.org
Fri Oct 8 00:50:59 CDT 2010
Now with -triple line in the new file, so that this hopefully works on
For what it's worth, with this patch clang can build all of
chromium/mac in debug mode.
On Wed, Oct 6, 2010 at 9:57 PM, Nico Weber <thakis at chromium.org> wrote:
> the attached patch adds support for UCN notation to character
> literals, e.g. L'\u1234'. It splits EncodeUCNEscape() into two pieces
> and calls only the first piece for character literals.
> Note that overflow (e.g. L'\U0010fffe' with -fshort-wchar) is handled
> differently than in gcc, because the gcc behavior makes no sense to
> me, and I guess this is implementation-defined anyhow and not used in
> Please review.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5377 bytes
Desc: not available
Url : http://lists.cs.uiuc.edu/pipermail/cfe-commits/attachments/20101007/06cfcf0a/attachment.obj
More information about the cfe-commits