clang  6.0.0svn
Macros
limits.h File Reference

Go to the source code of this file.

Macros

#define SCHAR_MAX   __SCHAR_MAX__
 
#define SHRT_MAX   __SHRT_MAX__
 
#define INT_MAX   __INT_MAX__
 
#define LONG_MAX   __LONG_MAX__
 
#define SCHAR_MIN   (-__SCHAR_MAX__-1)
 
#define SHRT_MIN   (-__SHRT_MAX__ -1)
 
#define INT_MIN   (-__INT_MAX__ -1)
 
#define LONG_MIN   (-__LONG_MAX__ -1L)
 
#define UCHAR_MAX   (__SCHAR_MAX__*2 +1)
 
#define USHRT_MAX   (__SHRT_MAX__ *2 +1)
 
#define UINT_MAX   (__INT_MAX__ *2U +1U)
 
#define ULONG_MAX   (__LONG_MAX__ *2UL+1UL)
 
#define MB_LEN_MAX   1
 
#define CHAR_BIT   __CHAR_BIT__
 
#define CHAR_MIN   SCHAR_MIN
 
#define CHAR_MAX   __SCHAR_MAX__
 
#define LONG_LONG_MAX   __LONG_LONG_MAX__
 
#define LONG_LONG_MIN   (-__LONG_LONG_MAX__-1LL)
 
#define ULONG_LONG_MAX   (__LONG_LONG_MAX__*2ULL+1ULL)
 

Macro Definition Documentation

◆ CHAR_BIT

#define CHAR_BIT   __CHAR_BIT__

Definition at line 79 of file limits.h.

Referenced by clang::ODRHash::CalculateHash().

◆ CHAR_MAX

#define CHAR_MAX   __SCHAR_MAX__

Definition at line 86 of file limits.h.

◆ CHAR_MIN

#define CHAR_MIN   SCHAR_MIN

Definition at line 85 of file limits.h.

◆ INT_MAX

#define INT_MAX   __INT_MAX__

Definition at line 62 of file limits.h.

Referenced by clang::TargetInfo::ConstraintInfo::setRequiresImmediate().

◆ INT_MIN

#define INT_MIN   (-__INT_MAX__ -1)

◆ LONG_LONG_MAX

#define LONG_LONG_MAX   __LONG_LONG_MAX__

Definition at line 113 of file limits.h.

◆ LONG_LONG_MIN

#define LONG_LONG_MIN   (-__LONG_LONG_MAX__-1LL)

Definition at line 114 of file limits.h.

◆ LONG_MAX

#define LONG_MAX   __LONG_MAX__

Definition at line 63 of file limits.h.

◆ LONG_MIN

#define LONG_MIN   (-__LONG_MAX__ -1L)

Definition at line 68 of file limits.h.

◆ MB_LEN_MAX

#define MB_LEN_MAX   1

Definition at line 76 of file limits.h.

◆ SCHAR_MAX

#define SCHAR_MAX   __SCHAR_MAX__

Definition at line 60 of file limits.h.

◆ SCHAR_MIN

#define SCHAR_MIN   (-__SCHAR_MAX__-1)

Definition at line 65 of file limits.h.

◆ SHRT_MAX

#define SHRT_MAX   __SHRT_MAX__

Definition at line 61 of file limits.h.

◆ SHRT_MIN

#define SHRT_MIN   (-__SHRT_MAX__ -1)

Definition at line 66 of file limits.h.

◆ UCHAR_MAX

#define UCHAR_MAX   (__SCHAR_MAX__*2 +1)

Definition at line 70 of file limits.h.

◆ UINT_MAX

#define UINT_MAX   (__INT_MAX__ *2U +1U)

◆ ULONG_LONG_MAX

#define ULONG_LONG_MAX   (__LONG_LONG_MAX__*2ULL+1ULL)

Definition at line 115 of file limits.h.

◆ ULONG_MAX

#define ULONG_MAX   (__LONG_MAX__ *2UL+1UL)

Definition at line 73 of file limits.h.

◆ USHRT_MAX

#define USHRT_MAX   (__SHRT_MAX__ *2 +1)

Definition at line 71 of file limits.h.