[libcxx-commits] [libcxx] [libc++] Fix C++23 standard modules when using with `clang-cl` on Windows (PR #148992)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 16 02:53:46 PDT 2025


================
@@ -14,15 +14,17 @@ export {
 
   using ::timespec _LIBCPP_USING_IF_EXISTS;
   using ::tm _LIBCPP_USING_IF_EXISTS;
-
   using ::asctime _LIBCPP_USING_IF_EXISTS;
   using ::clock _LIBCPP_USING_IF_EXISTS;
+  using ::strftime _LIBCPP_USING_IF_EXISTS;
+
+#ifndef _LIBCPP_ABI_VCRUNTIME
----------------
frederick-vs-ja wrote:

Aha, these lines should be removed. Now `get_new_handler.pass.cpp` should always pass.

https://github.com/llvm/llvm-project/blob/653872f782e1faaabc1da23769e6b35b10e74bde/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp#L11-L17

https://github.com/llvm/llvm-project/pull/148992


More information about the libcxx-commits mailing list