[llvm-branch-commits] [libcxx] [libc++][modules] Improves std.compat module. (PR #76330)

Mark de Wever via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Dec 27 10:36:21 PST 2023


================
@@ -17,38 +17,17 @@ module;
 
 // The headers of Table 24: C++ library headers [tab:headers.cpp]
 // and the headers of Table 25: C++ headers for C library facilities [tab:headers.cpp.c]
-#include <algorithm>
-#include <any>
-#include <array>
-#if !defined(_LIBCPP_HAS_NO_ATOMIC_HEADER)
-#  include <atomic>
-#endif
-#if !defined(_LIBCPP_HAS_NO_THREADS)
-#  include <barrier>
-#endif
-#include <bit>
-#include <bitset>
 #include <cassert>
 #include <cctype>
----------------
mordante wrote:

I don't want to make this change in this PR and investigate it separately. I want to make sure it doesn't make it harder for libc++ to test our modules. I created a new issue for it.

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


More information about the llvm-branch-commits mailing list