[PATCH] [libcxx] Fix ctype_byname<wchar_t>::do_is() mask checking.
Dan Albert
danalbert at google.com
Tue Aug 26 11:39:57 PDT 2014
Hi mclow.lists, EricWF,
The previous method was very dependent on how the ctype masks were defined. For example, Android has print defined as `(punct | upper | lower | digit | blank)`. When calling `do_is(upper, L'a')`, result would be set to true by `if (upper & print) result |= iswprint_l(L'a', __l)`;
http://reviews.llvm.org/D5071
Files:
src/locale.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5071.12957.patch
Type: text/x-patch
Size: 1745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140826/6c7a3366/attachment.bin>
More information about the cfe-commits
mailing list