[libcxx-commits] [libcxx] [libc++] First attempt to regroup a few modules in the modulemap (PR #98214)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 15 11:25:59 PDT 2024


================
@@ -245,8 +245,15 @@ module std_stdexcept [system] {
   header "stdexcept"
   export *
 }
-module std_stop_token {
+module std_stop_token [system] {
   header "stop_token"
+  private header "__stop_token/atomic_unique_lock.h"
----------------
ldionne wrote:

I see, thanks for the clarification. This is clearly relevant for how to setup e.g. `type_traits`. However, for `stop_token`, nobody outside of the `stop_token` module can include `__stop_token/atomic_unique_lock.h`, right?

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


More information about the libcxx-commits mailing list