clang 10.0.0git

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 63 of file limits.h.

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

## ◆ CHAR_MAX

#define CHAR_MAX __SCHAR_MAX__

Definition at line 70 of file limits.h.

## ◆ CHAR_MIN

#define CHAR_MIN SCHAR_MIN

Definition at line 69 of file limits.h.

## ◆ INT_MAX

#define INT_MAX __INT_MAX__

Definition at line 46 of file limits.h.

Referenced by clang::tooling::IncludeCategoryManager::getIncludePriority(), clang::tooling::IncludeCategoryManager::getSortIncludePriority(), clang::tooling::HeaderIncludes::HeaderIncludes(), scalbln(), and scalblnf().

## ◆ INT_MIN

#define INT_MIN (-__INT_MAX__ -1)

Definition at line 51 of file limits.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitCheckSourceLocation(), scalbln(), and scalblnf().

## ◆ LONG_LONG_MAX

#define LONG_LONG_MAX __LONG_LONG_MAX__

Definition at line 97 of file limits.h.

## ◆ LONG_LONG_MIN

#define LONG_LONG_MIN (-__LONG_LONG_MAX__-1LL)

Definition at line 98 of file limits.h.

## ◆ LONG_MAX

#define LONG_MAX __LONG_MAX__

Definition at line 47 of file limits.h.

## ◆ LONG_MIN

#define LONG_MIN (-__LONG_MAX__ -1L)

Definition at line 52 of file limits.h.

## ◆ MB_LEN_MAX

#define MB_LEN_MAX 1

Definition at line 60 of file limits.h.

## ◆ SCHAR_MAX

#define SCHAR_MAX __SCHAR_MAX__

Definition at line 44 of file limits.h.

## ◆ SCHAR_MIN

#define SCHAR_MIN (-__SCHAR_MAX__-1)

Definition at line 49 of file limits.h.

## ◆ SHRT_MAX

#define SHRT_MAX __SHRT_MAX__

Definition at line 45 of file limits.h.

## ◆ SHRT_MIN

#define SHRT_MIN (-__SHRT_MAX__ -1)

Definition at line 50 of file limits.h.

## ◆ UCHAR_MAX

#define UCHAR_MAX (__SCHAR_MAX__*2 +1)

Definition at line 54 of file limits.h.

## ◆ UINT_MAX

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

Definition at line 56 of file limits.h.

Referenced by clang::format::AlignMacroSequence(), clang::format::FindCursorIndex(), clang::format::findJavaImportGroup(), findKnownClass(), clang::format::formatReplacements(), GetX86_64ByValArgumentPair(), llvm::yaml::MappingTraits< clang::tooling::AtomicChange >::mapping(), and clang::format::CommaSeparatedList::precomputeFormattingInfos().

## ◆ ULONG_LONG_MAX

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

Definition at line 99 of file limits.h.

## ◆ ULONG_MAX

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

Definition at line 57 of file limits.h.

## ◆ USHRT_MAX

#define USHRT_MAX (__SHRT_MAX__ *2 +1)

Definition at line 55 of file limits.h.