Skip to content

Commit 1cc92ee

Browse files
committed
Revert "[libc++][modules] Rewrite the modulemap to have fewer top-level modules (#107638)"
This reverts commit bc6bd3b.
1 parent 9a62bb5 commit 1cc92ee

File tree

8 files changed

+2351
-2185
lines changed

8 files changed

+2351
-2185
lines changed

libcxx/include/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ set(files
687687
__ranges/views.h
688688
__ranges/zip_view.h
689689
__split_buffer
690+
__std_clang_module
690691
__std_mbstate_t.h
691692
__stop_token/atomic_unique_lock.h
692693
__stop_token/intrusive_list_view.h

libcxx/include/__format/formatter_integral.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#include <__type_traits/make_unsigned.h>
2828
#include <__utility/unreachable.h>
2929
#include <array>
30-
#include <cstdint>
3130
#include <limits>
3231
#include <string>
3332
#include <string_view>

libcxx/include/__std_clang_module

Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
// -*- C++ -*-
2+
//===----------------------------------------------------------------------===//
3+
//
4+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5+
// See https://llvm.org/LICENSE.txt for license information.
6+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7+
//
8+
//===----------------------------------------------------------------------===//
9+
10+
// WARNING, this entire header is generated by
11+
// utils/generate_std_clang_module_header.py
12+
// DO NOT MODIFY!
13+
14+
// This header should not be directly included, it's exclusively to import all
15+
// of the libc++ public clang modules for the `std` clang module to export. In
16+
// other words, it's to facilitate `@import std;` in Objective-C++ and `import std`
17+
// in Swift to expose all of the libc++ interfaces. This is generally not
18+
// recommended, however there are some clients that need to import all of libc++
19+
// without knowing what "all" is.
20+
#if !__building_module(std)
21+
# error "Do not include this header directly, include individual headers instead"
22+
#endif
23+
24+
#include <__config>
25+
26+
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
27+
# pragma GCC system_header
28+
#endif
29+
30+
#include <algorithm>
31+
#include <any>
32+
#include <array>
33+
#if !defined(_LIBCPP_HAS_NO_ATOMIC_HEADER)
34+
# include <atomic>
35+
#endif
36+
#include <barrier>
37+
#include <bit>
38+
#include <bitset>
39+
#include <cassert>
40+
#include <ccomplex>
41+
#include <cctype>
42+
#include <cerrno>
43+
#include <cfenv>
44+
#include <cfloat>
45+
#include <charconv>
46+
#include <chrono>
47+
#include <cinttypes>
48+
#include <ciso646>
49+
#include <climits>
50+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
51+
# include <clocale>
52+
#endif
53+
#include <cmath>
54+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
55+
# include <codecvt>
56+
#endif
57+
#include <compare>
58+
#include <complex.h>
59+
#include <complex>
60+
#include <concepts>
61+
#include <condition_variable>
62+
#include <coroutine>
63+
#include <csetjmp>
64+
#include <csignal>
65+
#include <cstdarg>
66+
#include <cstdbool>
67+
#include <cstddef>
68+
#include <cstdint>
69+
#include <cstdio>
70+
#include <cstdlib>
71+
#include <cstring>
72+
#include <ctgmath>
73+
#include <ctime>
74+
#include <ctype.h>
75+
#include <cuchar>
76+
#include <cwchar>
77+
#include <cwctype>
78+
#include <deque>
79+
#include <errno.h>
80+
#include <exception>
81+
#include <execution>
82+
#include <expected>
83+
#include <experimental/iterator>
84+
#include <experimental/memory>
85+
#include <experimental/propagate_const>
86+
#include <experimental/simd>
87+
#include <experimental/type_traits>
88+
#include <experimental/utility>
89+
#include <fenv.h>
90+
#include <filesystem>
91+
#include <float.h>
92+
#include <format>
93+
#include <forward_list>
94+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
95+
# include <fstream>
96+
#endif
97+
#include <functional>
98+
#include <future>
99+
#include <initializer_list>
100+
#include <inttypes.h>
101+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
102+
# include <iomanip>
103+
#endif
104+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
105+
# include <ios>
106+
#endif
107+
#include <iosfwd>
108+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
109+
# include <iostream>
110+
#endif
111+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
112+
# include <istream>
113+
#endif
114+
#include <iterator>
115+
#include <latch>
116+
#include <limits>
117+
#include <list>
118+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
119+
# include <locale.h>
120+
#endif
121+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
122+
# include <locale>
123+
#endif
124+
#include <map>
125+
#include <math.h>
126+
#include <mdspan>
127+
#include <memory>
128+
#include <memory_resource>
129+
#include <mutex>
130+
#include <new>
131+
#include <numbers>
132+
#include <numeric>
133+
#include <optional>
134+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
135+
# include <ostream>
136+
#endif
137+
#include <print>
138+
#include <queue>
139+
#include <random>
140+
#include <ranges>
141+
#include <ratio>
142+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
143+
# include <regex>
144+
#endif
145+
#include <scoped_allocator>
146+
#include <semaphore>
147+
#include <set>
148+
#include <shared_mutex>
149+
#include <source_location>
150+
#include <span>
151+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
152+
# include <sstream>
153+
#endif
154+
#include <stack>
155+
#if !defined(_LIBCPP_HAS_NO_ATOMIC_HEADER)
156+
# include <stdatomic.h>
157+
#endif
158+
#include <stdbool.h>
159+
#include <stddef.h>
160+
#include <stdexcept>
161+
#include <stdint.h>
162+
#include <stdio.h>
163+
#include <stdlib.h>
164+
#include <stop_token>
165+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
166+
# include <streambuf>
167+
#endif
168+
#include <string.h>
169+
#include <string>
170+
#include <string_view>
171+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
172+
# include <strstream>
173+
#endif
174+
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
175+
# include <syncstream>
176+
#endif
177+
#include <system_error>
178+
#include <tgmath.h>
179+
#include <thread>
180+
#include <tuple>
181+
#include <type_traits>
182+
#include <typeindex>
183+
#include <typeinfo>
184+
#include <uchar.h>
185+
#include <unordered_map>
186+
#include <unordered_set>
187+
#include <utility>
188+
#include <valarray>
189+
#include <variant>
190+
#include <vector>
191+
#include <version>
192+
#include <wchar.h>
193+
#include <wctype.h>

0 commit comments

Comments
 (0)