[PATCH] D14926: Use libcxx's default rune table with the Musl C library.

Jonathan Roelofs via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 23 08:18:34 PST 2015


jroelofs accepted this revision.
jroelofs added a comment.
This revision is now accepted and ready to land.

LGTM


================
Comment at: include/__locale:411-415
@@ -410,7 +410,3 @@
 #else
-#if defined(_LIBCPP_HAS_MUSL_LIBC)
-    typedef unsigned short mask;
-#else
     typedef unsigned long mask;
-#endif
     static const mask space  = 1<<0;
----------------
vkalintiris wrote:
> Which typedef should we choose for mask?
If you're using libcxx's table, you should use `typedef unsigned long mask`.


http://reviews.llvm.org/D14926





More information about the cfe-commits mailing list