xref: /aosp_15_r20/external/cronet/third_party/libc++/src/modules/std/cstdint.cppm (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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
10module;
11#include <cstdint>
12
13export module std:cstdint;
14export namespace std {
15  // signed
16  using std::int8_t _LIBCPP_USING_IF_EXISTS;
17  using std::int16_t _LIBCPP_USING_IF_EXISTS;
18  using std::int32_t _LIBCPP_USING_IF_EXISTS;
19  using std::int64_t _LIBCPP_USING_IF_EXISTS;
20
21  using std::int_fast16_t;
22  using std::int_fast32_t;
23  using std::int_fast64_t;
24  using std::int_fast8_t;
25
26  using std::int_least16_t;
27  using std::int_least32_t;
28  using std::int_least64_t;
29  using std::int_least8_t;
30
31  using std::intmax_t;
32
33  using std::intptr_t _LIBCPP_USING_IF_EXISTS;
34
35  // unsigned
36  using std::uint8_t _LIBCPP_USING_IF_EXISTS;
37  using std::uint16_t _LIBCPP_USING_IF_EXISTS;
38  using std::uint32_t _LIBCPP_USING_IF_EXISTS;
39  using std::uint64_t _LIBCPP_USING_IF_EXISTS;
40
41  using std::uint_fast16_t;
42  using std::uint_fast32_t;
43  using std::uint_fast64_t;
44  using std::uint_fast8_t;
45
46  using std::uint_least16_t;
47  using std::uint_least32_t;
48  using std::uint_least64_t;
49  using std::uint_least8_t;
50
51  using std::uintmax_t;
52
53  using std::uintptr_t _LIBCPP_USING_IF_EXISTS;
54} // namespace std
55