brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.9 KiB · 876abb7 Raw
200 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#ifndef _LIBCPP___CXX03_CSTDINT11#define _LIBCPP___CXX03_CSTDINT12 13/*14    cstdint synopsis15 16Macros:17 18    INT8_MIN19    INT16_MIN20    INT32_MIN21    INT64_MIN22 23    INT8_MAX24    INT16_MAX25    INT32_MAX26    INT64_MAX27 28    UINT8_MAX29    UINT16_MAX30    UINT32_MAX31    UINT64_MAX32 33    INT_LEAST8_MIN34    INT_LEAST16_MIN35    INT_LEAST32_MIN36    INT_LEAST64_MIN37 38    INT_LEAST8_MAX39    INT_LEAST16_MAX40    INT_LEAST32_MAX41    INT_LEAST64_MAX42 43    UINT_LEAST8_MAX44    UINT_LEAST16_MAX45    UINT_LEAST32_MAX46    UINT_LEAST64_MAX47 48    INT_FAST8_MIN49    INT_FAST16_MIN50    INT_FAST32_MIN51    INT_FAST64_MIN52 53    INT_FAST8_MAX54    INT_FAST16_MAX55    INT_FAST32_MAX56    INT_FAST64_MAX57 58    UINT_FAST8_MAX59    UINT_FAST16_MAX60    UINT_FAST32_MAX61    UINT_FAST64_MAX62 63    INTPTR_MIN64    INTPTR_MAX65    UINTPTR_MAX66 67    INTMAX_MIN68    INTMAX_MAX69 70    UINTMAX_MAX71 72    PTRDIFF_MIN73    PTRDIFF_MAX74 75    SIG_ATOMIC_MIN76    SIG_ATOMIC_MAX77 78    SIZE_MAX79 80    WCHAR_MIN81    WCHAR_MAX82 83    WINT_MIN84    WINT_MAX85 86    INT8_C(value)87    INT16_C(value)88    INT32_C(value)89    INT64_C(value)90 91    UINT8_C(value)92    UINT16_C(value)93    UINT32_C(value)94    UINT64_C(value)95 96    INTMAX_C(value)97    UINTMAX_C(value)98 99namespace std100{101 102Types:103 104    int8_t105    int16_t106    int32_t107    int64_t108 109    uint8_t110    uint16_t111    uint32_t112    uint64_t113 114    int_least8_t115    int_least16_t116    int_least32_t117    int_least64_t118 119    uint_least8_t120    uint_least16_t121    uint_least32_t122    uint_least64_t123 124    int_fast8_t125    int_fast16_t126    int_fast32_t127    int_fast64_t128 129    uint_fast8_t130    uint_fast16_t131    uint_fast32_t132    uint_fast64_t133 134    intptr_t135    uintptr_t136 137    intmax_t138    uintmax_t139 140}  // std141*/142 143#include <__cxx03/__config>144 145#include <__cxx03/stdint.h>146 147#ifndef _LIBCPP___CXX03_STDINT_H148#   error <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> header. \149          This usually means that your header search paths are not configured properly. \150          The header search paths should contain the C++ Standard Library headers before \151          any C Standard Library, and you are probably using compiler flags that make that \152          not be the case.153#endif154 155#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)156#  pragma GCC system_header157#endif158 159_LIBCPP_BEGIN_NAMESPACE_STD160 161using ::int8_t _LIBCPP_USING_IF_EXISTS;162using ::int16_t _LIBCPP_USING_IF_EXISTS;163using ::int32_t _LIBCPP_USING_IF_EXISTS;164using ::int64_t _LIBCPP_USING_IF_EXISTS;165 166using ::uint8_t _LIBCPP_USING_IF_EXISTS;167using ::uint16_t _LIBCPP_USING_IF_EXISTS;168using ::uint32_t _LIBCPP_USING_IF_EXISTS;169using ::uint64_t _LIBCPP_USING_IF_EXISTS;170 171using ::int_least8_t _LIBCPP_USING_IF_EXISTS;172using ::int_least16_t _LIBCPP_USING_IF_EXISTS;173using ::int_least32_t _LIBCPP_USING_IF_EXISTS;174using ::int_least64_t _LIBCPP_USING_IF_EXISTS;175 176using ::uint_least8_t _LIBCPP_USING_IF_EXISTS;177using ::uint_least16_t _LIBCPP_USING_IF_EXISTS;178using ::uint_least32_t _LIBCPP_USING_IF_EXISTS;179using ::uint_least64_t _LIBCPP_USING_IF_EXISTS;180 181using ::int_fast8_t _LIBCPP_USING_IF_EXISTS;182using ::int_fast16_t _LIBCPP_USING_IF_EXISTS;183using ::int_fast32_t _LIBCPP_USING_IF_EXISTS;184using ::int_fast64_t _LIBCPP_USING_IF_EXISTS;185 186using ::uint_fast8_t _LIBCPP_USING_IF_EXISTS;187using ::uint_fast16_t _LIBCPP_USING_IF_EXISTS;188using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;189using ::uint_fast64_t _LIBCPP_USING_IF_EXISTS;190 191using ::intptr_t _LIBCPP_USING_IF_EXISTS;192using ::uintptr_t _LIBCPP_USING_IF_EXISTS;193 194using ::intmax_t _LIBCPP_USING_IF_EXISTS;195using ::uintmax_t _LIBCPP_USING_IF_EXISTS;196 197_LIBCPP_END_NAMESPACE_STD198 199#endif // _LIBCPP___CXX03_CSTDINT200