[libcxx][module-map] creates submodules for private headers
authorChristopher Di Bella <cjdb@google.com>
Wed, 2 Jun 2021 19:46:20 +0000 (19:46 +0000)
committerChristopher Di Bella <cjdb@google.com>
Thu, 3 Jun 2021 18:18:30 +0000 (18:18 +0000)
commitf1417eb9b1f51b689c78dd8cb0114c1749dd2845
tree49537f15344e239dcc25120515fa224aaeb3a719
parent13a9b2220f227631b3495a42abbab7fc2b414b69
[libcxx][module-map] creates submodules for private headers

Most of our private headers need to be treated as submodules so that
Clang modules can export things correctly. Previous commits that split
monolithic headers into smaller chunks were unaware of this requirement,
and so this is being addressed in one fell swoop. Moving forward, most
new headers will need to have their own submodule (anything that's
conditionally included is exempt from this rule, which means `__support`
headers aren't made into submodules).

This hasn't been marked NFC, since I'm not 100% sure that's the case.

Differential Revision: https://reviews.llvm.org/D103551
libcxx/include/__iterator/advance.h
libcxx/include/__iterator/indirect_concepts.h
libcxx/include/__iterator/next.h
libcxx/include/__iterator/prev.h
libcxx/include/__memory/allocation_guard.h
libcxx/include/__memory/allocator.h
libcxx/include/__memory/allocator_traits.h
libcxx/include/__memory/pointer_safety.h
libcxx/include/__memory/pointer_traits.h
libcxx/include/module.modulemap