[libcxx-commits] [libcxx] 95a9a26 - [libc++] Remove __classic_[upper, lower]_table from cxx03 __locale header NFC) (#155916)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Aug 29 01:24:56 PDT 2025
Author: Zibi Sarbinowski
Date: 2025-08-29T10:24:52+02:00
New Revision: 95a9a26a4e0c9ab7e71dd8a4222d04da4f2b2a2c
URL: https://github.com/llvm/llvm-project/commit/95a9a26a4e0c9ab7e71dd8a4222d04da4f2b2a2c
DIFF: https://github.com/llvm/llvm-project/commit/95a9a26a4e0c9ab7e71dd8a4222d04da4f2b2a2c.diff
LOG: [libc++] Remove __classic_[upper,lower]_table from cxx03 __locale header NFC) (#155916)
Remove `__classic_upper_table()` and `__classic_lower_table()` from
cxx03. The previous patch removed those function but declaration was
left in cxx03 header. This is more cleaning up patch.
Added:
Modified:
libcxx/include/__cxx03/__locale
Removed:
################################################################################
diff --git a/libcxx/include/__cxx03/__locale b/libcxx/include/__cxx03/__locale
index d5faa89b99fc0..86160bcdcbd59 100644
--- a/libcxx/include/__cxx03/__locale
+++ b/libcxx/include/__cxx03/__locale
@@ -582,18 +582,6 @@ public:
#endif
_LIBCPP_HIDE_FROM_ABI const mask* table() const _NOEXCEPT { return __tab_; }
static const mask* classic_table() _NOEXCEPT;
-#if defined(__GLIBC__) || defined(__EMSCRIPTEN__)
- static const int* __classic_upper_table() _NOEXCEPT;
- static const int* __classic_lower_table() _NOEXCEPT;
-#endif
-#if defined(__NetBSD__)
- static const short* __classic_upper_table() _NOEXCEPT;
- static const short* __classic_lower_table() _NOEXCEPT;
-#endif
-#if defined(__MVS__)
- static const unsigned short* __classic_upper_table() _NOEXCEPT;
- static const unsigned short* __classic_lower_table() _NOEXCEPT;
-#endif
protected:
~ctype() override;
More information about the libcxx-commits
mailing list