diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2025-02-28 15:41:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-28 15:41:44 -0500 |
commit | fda7373daf5790833101c504be1c749bbb0fceb8 (patch) | |
tree | d31ecbc5c44618a9eba434ecc3d1c225fca94a47 /llvm/lib/Analysis/LoopAccessAnalysis.cpp | |
parent | 4485d91786e9f624cdb4c7579d0938809291e0f9 (diff) | |
download | llvm-fda7373daf5790833101c504be1c749bbb0fceb8.zip llvm-fda7373daf5790833101c504be1c749bbb0fceb8.tar.gz llvm-fda7373daf5790833101c504be1c749bbb0fceb8.tar.bz2 |
[libc++] Guard <codecvt> contents on _LIBCPP_HAS_LOCALIZATION (#129112)
The codecvt class is defined in <locale> and the contents of the
<codecvt> header don't work when localization is disabled. Without this
guard, builds with localization disabled that happen to include
<codecvt> could be broken because they would try to include <__locale>,
which ends up trying to include the locale base API and eventually
platform headers like <xlocale.h> that may not exist.
Diffstat (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions