brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.6 KiB · dd7385b Raw
87 lines · plain
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-exception7//8//===----------------------------------------------------------------------===//9 10// WARNING, this entire header is generated by11// utils/generate_libcxx_cppm_in.py12// 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#include <clocale>28#include <cmath>29#include <csetjmp>30#include <csignal>31#include <cstdarg>32#include <cstddef>33#include <cstdint>34#include <cstdio>35#include <cstdlib>36#include <cstring>37#include <ctime>38#include <cuchar>39#include <cwchar>40#include <cwctype>41 42// *** Headers not yet available ***43//44// This validation is mainly to catch when a new header is added but adding the45// corresponding .inc file is forgotten. However, the check based on __has_include46// alone doesn't work on Windows because the Windows SDK is on the include path,47// and that means the MSVC STL headers can be found as well, tricking __has_include48// into thinking that libc++ provides the header.49//50#ifndef _WIN3251#  if __has_include(<debugging>)52#    error "please update the header information for <debugging> in headers_not_available in utils/libcxx/header_information.py"53#  endif // __has_include(<debugging>)54#  if __has_include(<generator>)55#    error "please update the header information for <generator> in headers_not_available in utils/libcxx/header_information.py"56#  endif // __has_include(<generator>)57#  if __has_include(<hazard_pointer>)58#    error "please update the header information for <hazard_pointer> in headers_not_available in utils/libcxx/header_information.py"59#  endif // __has_include(<hazard_pointer>)60#  if __has_include(<inplace_vector>)61#    error "please update the header information for <inplace_vector> in headers_not_available in utils/libcxx/header_information.py"62#  endif // __has_include(<inplace_vector>)63#  if __has_include(<linalg>)64#    error "please update the header information for <linalg> in headers_not_available in utils/libcxx/header_information.py"65#  endif // __has_include(<linalg>)66#  if __has_include(<rcu>)67#    error "please update the header information for <rcu> in headers_not_available in utils/libcxx/header_information.py"68#  endif // __has_include(<rcu>)69#  if __has_include(<spanstream>)70#    error "please update the header information for <spanstream> in headers_not_available in utils/libcxx/header_information.py"71#  endif // __has_include(<spanstream>)72#  if __has_include(<stacktrace>)73#    error "please update the header information for <stacktrace> in headers_not_available in utils/libcxx/header_information.py"74#  endif // __has_include(<stacktrace>)75#  if __has_include(<stdfloat>)76#    error "please update the header information for <stdfloat> in headers_not_available in utils/libcxx/header_information.py"77#  endif // __has_include(<stdfloat>)78#  if __has_include(<text_encoding>)79#    error "please update the header information for <text_encoding> in headers_not_available in utils/libcxx/header_information.py"80#  endif // __has_include(<text_encoding>)81#endif // _WIN3282 83export module std.compat;84export import std;85 86 87@LIBCXX_MODULE_STD_COMPAT_INCLUDE_SOURCES@