[PATCH] D144331: [libc++][format] Implements formatter thread::id.

Tom Honermann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 13 11:42:08 PDT 2023


tahonermann added a comment.

> It adds an include of #include <__format/formatter_integral.h> which ends up including <locale> which has internal definitions of isupper/islower causing clang to complain.
>
> Any suggestions on what would be the right fix here?

It sounds like `safe-ctype.h` should also add a `#include` of `<locale>` (when compiling as C++) to avoid interfering with the `std::locale` variants of those functions.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144331



More information about the cfe-commits mailing list