xref: /freebsd/contrib/llvm-project/libcxx/modules/std.compat.cppm.in (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
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_libcxx_cppm_in.py
12// DO NOT MODIFY!
13
14module;
15
16#include <__config>
17
18// The headers of Table 24: C++ library headers [tab:headers.cpp]
19// and the headers of Table 25: C++ headers for C library facilities [tab:headers.cpp.c]
20#include <cassert>
21#include <cctype>
22#include <cerrno>
23#include <cfenv>
24#include <cfloat>
25#include <cinttypes>
26#include <climits>
27#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
28#  include <clocale>
29#endif
30#include <cmath>
31#include <csetjmp>
32#include <csignal>
33#include <cstdarg>
34#include <cstddef>
35#include <cstdint>
36#include <cstdio>
37#include <cstdlib>
38#include <cstring>
39#include <ctime>
40#include <cuchar>
41#if !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS)
42#  include <cwchar>
43#endif
44#if !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS)
45#  include <cwctype>
46#endif
47
48// *** Headers not yet available ***
49#if __has_include(<debugging>)
50#  error "please update the header information for <debugging> in headers_not_available in utils/libcxx/header_information.py"
51#endif // __has_include(<debugging>)
52#if __has_include(<flat_map>)
53#  error "please update the header information for <flat_map> in headers_not_available in utils/libcxx/header_information.py"
54#endif // __has_include(<flat_map>)
55#if __has_include(<flat_set>)
56#  error "please update the header information for <flat_set> in headers_not_available in utils/libcxx/header_information.py"
57#endif // __has_include(<flat_set>)
58#if __has_include(<generator>)
59#  error "please update the header information for <generator> in headers_not_available in utils/libcxx/header_information.py"
60#endif // __has_include(<generator>)
61#if __has_include(<hazard_pointer>)
62#  error "please update the header information for <hazard_pointer> in headers_not_available in utils/libcxx/header_information.py"
63#endif // __has_include(<hazard_pointer>)
64#if __has_include(<linalg>)
65#  error "please update the header information for <linalg> in headers_not_available in utils/libcxx/header_information.py"
66#endif // __has_include(<linalg>)
67#if __has_include(<rcu>)
68#  error "please update the header information for <rcu> in headers_not_available in utils/libcxx/header_information.py"
69#endif // __has_include(<rcu>)
70#if __has_include(<spanstream>)
71#  error "please update the header information for <spanstream> in headers_not_available in utils/libcxx/header_information.py"
72#endif // __has_include(<spanstream>)
73#if __has_include(<stacktrace>)
74#  error "please update the header information for <stacktrace> in headers_not_available in utils/libcxx/header_information.py"
75#endif // __has_include(<stacktrace>)
76#if __has_include(<stdfloat>)
77#  error "please update the header information for <stdfloat> in headers_not_available in utils/libcxx/header_information.py"
78#endif // __has_include(<stdfloat>)
79#if __has_include(<text_encoding>)
80#  error "please update the header information for <text_encoding> in headers_not_available in utils/libcxx/header_information.py"
81#endif // __has_include(<text_encoding>)
82
83export module std.compat;
84export import std;
85
86
87@LIBCXX_MODULE_STD_COMPAT_INCLUDE_SOURCES@