Changeset View
Changeset View
Standalone View
Standalone View
libcxx/include/__config
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Lines | |||||
# define _LIBCPP_ABI_OPTIMIZED_LOCALE_NUM_GET | # define _LIBCPP_ABI_OPTIMIZED_LOCALE_NUM_GET | ||||
// Use the smallest possible integer type to represent the index of the variant. | // Use the smallest possible integer type to represent the index of the variant. | ||||
// Previously libc++ used "unsigned int" exclusively. | // Previously libc++ used "unsigned int" exclusively. | ||||
# define _LIBCPP_ABI_VARIANT_INDEX_TYPE_OPTIMIZATION | # define _LIBCPP_ABI_VARIANT_INDEX_TYPE_OPTIMIZATION | ||||
// Unstable attempt to provide a more optimized std::function | // Unstable attempt to provide a more optimized std::function | ||||
# define _LIBCPP_ABI_OPTIMIZED_FUNCTION | # define _LIBCPP_ABI_OPTIMIZED_FUNCTION | ||||
// All the regex constants must be distinct and nonzero. | // All the regex constants must be distinct and nonzero. | ||||
# define _LIBCPP_ABI_REGEX_CONSTANTS_NONZERO | # define _LIBCPP_ABI_REGEX_CONSTANTS_NONZERO | ||||
// Inline assign(s, [, n]) code, performing inline assignment for strings | |||||
// which length is known at compile time and smaller than __min_cap, resulting | |||||
// in up to 6X speed ups for (asciiz) string assignments. | |||||
# define _LIBCPP_ABI_PARTIALLY_INLINE_ASSIGN | |||||
#elif _LIBCPP_ABI_VERSION == 1 | #elif _LIBCPP_ABI_VERSION == 1 | ||||
# if !defined(_LIBCPP_OBJECT_FORMAT_COFF) | # if !defined(_LIBCPP_OBJECT_FORMAT_COFF) | ||||
// Enable compiling copies of now inline methods into the dylib to support | // Enable compiling copies of now inline methods into the dylib to support | ||||
// applications compiled against older libraries. This is unnecessary with | // applications compiled against older libraries. This is unnecessary with | ||||
// COFF dllexport semantics, since dllexport forces a non-inline definition | // COFF dllexport semantics, since dllexport forces a non-inline definition | ||||
// of inline functions to be emitted anyway. Our own non-inline copy would | // of inline functions to be emitted anyway. Our own non-inline copy would | ||||
// conflict with the dllexport-emitted copy, so we disable it. | // conflict with the dllexport-emitted copy, so we disable it. | ||||
# define _LIBCPP_DEPRECATED_ABI_LEGACY_LIBRARY_DEFINITIONS_FOR_INLINE_FUNCTIONS | # define _LIBCPP_DEPRECATED_ABI_LEGACY_LIBRARY_DEFINITIONS_FOR_INLINE_FUNCTIONS | ||||
▲ Show 20 Lines • Show All 370 Lines • ▼ Show 20 Lines | |||||
#if !defined(_LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK) && __has_attribute(no_sanitize) | #if !defined(_LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK) && __has_attribute(no_sanitize) | ||||
#define _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK __attribute__((__no_sanitize__("unsigned-integer-overflow"))) | #define _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK __attribute__((__no_sanitize__("unsigned-integer-overflow"))) | ||||
#endif | #endif | ||||
#if __has_builtin(__builtin_launder) | #if __has_builtin(__builtin_launder) | ||||
#define _LIBCPP_COMPILER_HAS_BUILTIN_LAUNDER | #define _LIBCPP_COMPILER_HAS_BUILTIN_LAUNDER | ||||
#endif | #endif | ||||
#if defined(__GNUC__) || __has_builtin(__builtin_constant_p) | |||||
#define _LIBCPP_COMPILER_HAS_BUILTIN_CONSTANT_P | |||||
#endif | |||||
#if !__is_identifier(__has_unique_object_representations) | #if !__is_identifier(__has_unique_object_representations) | ||||
#define _LIBCPP_HAS_UNIQUE_OBJECT_REPRESENTATIONS | #define _LIBCPP_HAS_UNIQUE_OBJECT_REPRESENTATIONS | ||||
#endif | #endif | ||||
#define _LIBCPP_ALWAYS_INLINE __attribute__ ((__always_inline__)) | #define _LIBCPP_ALWAYS_INLINE __attribute__ ((__always_inline__)) | ||||
// Literal operators ""d and ""y are supported starting with LLVM Clang 8 and AppleClang 10.0.1 | // Literal operators ""d and ""y are supported starting with LLVM Clang 8 and AppleClang 10.0.1 | ||||
#if (defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER < 800) || \ | #if (defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER < 800) || \ | ||||
▲ Show 20 Lines • Show All 1,019 Lines • Show Last 20 Lines |