[PATCH] D17132: [libcxx] Fix definition of regex_traits::__regex_word on big-endian glibc systems

Daniel Sanders via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 11 11:54:39 PST 2016


dsanders added a comment.

I haven't fully proven this yet (because I haven't found the table), but I think that C and C++ are sharing the same table and we're colliding with a bit that only makes sense to C. This would explain why your tests don't fail but regex_word still collides with _ISgraph in the table.

I've confirmed that glibc is testing for _ISgraph, and libstdc++ defines ctype_base as per the standard. I just need to find the table.


http://reviews.llvm.org/D17132





More information about the cfe-commits mailing list