[libc++][Modules] Simplify the __std_clang_module header generation
authorIan Anderson <iana@apple.com>
Thu, 17 Aug 2023 00:02:41 +0000 (17:02 -0700)
committerTobias Hieta <tobias@hieta.se>
Sun, 27 Aug 2023 08:55:16 +0000 (10:55 +0200)
commit0521244b24745ecbd098a8b0e02786f177dcb539
tree84f31b643090b76735fd0f65e79c89cf2451dcd3
parent5e2c5225f8f4d22c2a220d984740a9cf37df80a9
[libc++][Modules] Simplify the __std_clang_module header generation

Post review feedback on D157364. Don't section the __std_clang_module header by macro, put the headers in alphabetical order and repeat the macro guards. Restore header_information.header_restrictions.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D158133

# Conflicts:
# libcxx/utils/libcxx/header_information.py
libcxx/include/__std_clang_module
libcxx/utils/generate_std_clang_module_header.py
libcxx/utils/libcxx/header_information.py