[libcxx-commits] [PATCH] D103551: [libcxx][module-map] creates submodules for private headers

Christopher Di Bella via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jun 4 09:44:35 PDT 2021


cjdb added a comment.

Answered @Mordante's question (I forgot to press submit down here).



================
Comment at: libcxx/include/module.modulemap:368
+      module prev                 { header "__iterator/prev.h"                 }
+      module projected            { header "__iterator/projected.h"            }
+      module readable_traits      { header "__iterator/readable_traits.h"      }
----------------
Mordante wrote:
> Just for my understanding. This header is C++20. Do headers in the internal module not set their own `requires`?
It's unclear to me whether or not we can put `requires cplusplus20` on because we unconditionally include these headers.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103551/new/

https://reviews.llvm.org/D103551



More information about the libcxx-commits mailing list