[libc++] Make bsd_locale_fallbacks.h modular and move it into __locale/locale_base_api/
authorNikolas Klauser <nikolasklauser@berlin.de>
Sat, 4 Mar 2023 01:37:37 +0000 (02:37 +0100)
committerNikolas Klauser <nikolasklauser@berlin.de>
Fri, 21 Apr 2023 03:36:41 +0000 (05:36 +0200)
commitc847b8e24cfdc85316b17f173019f9de1b1050ea
tree190fc2ae4394433983ea88f1badd5933b883dca4
parent596d87c4cce17f4842e852a0a4f57bcc7e8ab02b
[libc++] Make bsd_locale_fallbacks.h modular and move it into __locale/locale_base_api/

This is a first step towards granularizing `<locale>`.

Reviewed By: ldionne, #libc

Spies: arichardson, libcxx-commits, mikhail.ramalho

Differential Revision: https://reviews.llvm.org/D146397
20 files changed:
libcxx/include/CMakeLists.txt
libcxx/include/__locale
libcxx/include/__locale_dir/locale_base_api/bsd_locale_defaults.h [moved from libcxx/include/__bsd_locale_defaults.h with 91% similarity]
libcxx/include/__locale_dir/locale_base_api/bsd_locale_fallbacks.h [moved from libcxx/include/__bsd_locale_fallbacks.h with 92% similarity]
libcxx/include/__locale_dir/locale_base_api/locale_guard.h [new file with mode: 0644]
libcxx/include/libcxx.imp
libcxx/include/locale
libcxx/src/iostream.cpp
libcxx/src/support/win32/locale_win32.cpp
libcxx/test/libcxx/lint/lint_modulemap.sh.py
libcxx/test/libcxx/private_headers.verify.cpp
libcxx/test/libcxx/transitive_includes/cxx03.csv
libcxx/test/libcxx/transitive_includes/cxx11.csv
libcxx/test/libcxx/transitive_includes/cxx14.csv
libcxx/test/libcxx/transitive_includes/cxx17.csv
libcxx/test/libcxx/transitive_includes/cxx20.csv
libcxx/test/libcxx/transitive_includes/cxx2b.csv
libcxx/utils/data/ignore_format.txt
libcxx/utils/generate_header_tests.py
libcxx/utils/generate_iwyu_mapping.py