Files
android_external_libcxx/include
Daniel Sanders 7e87bc9c67 [libcxx] Fix definition of regex_traits::__regex_word on big-endian glibc systems
Summary:
On glibc, the bits used for the various character classes is endian dependant
(see _ISbit() in ctypes.h) but __regex_word does not account for this and uses
a spare bit that isn't spare on big-endian. On big-endian, it overlaps with the
bit for graphic characters which causes '-', '@', etc. to be considered a word
character.

Fixed this by defining the value using _ISbit(15) on MIPS glibc systems. We've
restricted this to MIPS for now to avoid the risk of introducing failures in
other targets.

Fixes PR26476.

Reviewers: hans, mclow.lists

Subscribers: dsanders, cfe-commits

Differential Revision: http://reviews.llvm.org/D17132


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@261088 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-17 13:16:31 +00:00
..
2016-01-28 04:15:35 +00:00
2015-02-05 02:34:59 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2015-10-08 20:36:30 +00:00
2015-10-08 20:37:11 +00:00
2015-10-08 20:37:44 +00:00
2015-11-30 05:39:30 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2015-10-08 20:40:34 +00:00
2013-10-05 21:19:49 +00:00
2015-10-08 20:41:26 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2011-10-17 20:05:10 +00:00
2015-10-09 01:29:09 +00:00
2015-10-09 01:41:45 +00:00
2011-10-17 20:05:10 +00:00
2015-10-09 19:57:37 +00:00
2016-02-10 21:53:28 +00:00
2015-05-19 02:03:22 +00:00
2015-11-30 05:04:48 +00:00
2015-10-09 01:29:09 +00:00
2011-10-17 20:05:10 +00:00
2015-10-09 19:57:37 +00:00