[libcxx-commits] [PATCH] D63284: [libc++] Keep __regex_word in sync with ctype_base

Simon Atanasyan via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 15 22:13:40 PDT 2019


atanasyan added inline comments.


================
Comment at: libcxx/trunk/include/__locale:412
+#if defined(__mips__)
+    static const mask __regex_word = static_cast<char_class_type>(_ISbit(15));
+#else
----------------
This change breaks building on mips: https://bugs.llvm.org/show_bug.cgi?id=43011
Maybe this change fix the problem, but I'm not an expert in libc++:
```
static const mask __regex_word = static_cast<mask>(_ISbit(15));
```


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63284/new/

https://reviews.llvm.org/D63284





More information about the libcxx-commits mailing list