diff options
author | Ian Anderson <iana@apple.com> | 2023-08-23 13:52:18 -0700 |
---|---|---|
committer | Ian Anderson <iana@apple.com> | 2023-08-24 14:22:41 -0700 |
commit | 6021c78fe55e3c4d3e073710bfe279c6a28566d4 (patch) | |
tree | 83fcba0d6243ee53312d2e08bc4942e8f9e0f0ff /llvm/lib/CodeGen/BasicBlockSections.cpp | |
parent | 13ffde316a8541d77116bd18f73efada236617f3 (diff) | |
download | llvm-6021c78fe55e3c4d3e073710bfe279c6a28566d4.zip llvm-6021c78fe55e3c4d3e073710bfe279c6a28566d4.tar.gz llvm-6021c78fe55e3c4d3e073710bfe279c6a28566d4.tar.bz2 |
[libc++][Modules] locale fails to compile with clang modules when _LIBCPP_LOCALE__L_EXTENSIONS is undefined
When `__locale_dir/locale_base_api/locale_guard.h is` compiled independently, as it is when it's in its own clang module, it fails to compile due to `locale_t` being undefined. It needs to include `__locale` to get that, instead of just `clocale`.
Reviewed By: ldionne, #libc
Differential Revision: https://reviews.llvm.org/D158669
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions