Skip to content

Instantly share code, notes, and snippets.

@apaprocki
Created March 23, 2017 19:33
Show Gist options
  • Save apaprocki/2dc1041c8e88a293890750dca4181c91 to your computer and use it in GitHub Desktop.
Save apaprocki/2dc1041c8e88a293890750dca4181c91 to your computer and use it in GitHub Desktop.
_LIBCPP preprocessor defines
#define _LIBCPP_ABI_VERSION 1
#define _LIBCPP_ALGORITHM
#define _LIBCPP_ALWAYS_INLINE __attribute__ ((__visibility__("hidden"), __always_inline__))
#define _LIBCPP_ASSERT(x,m) ((void)0)
#define _LIBCPP_AVAILABILITY_ATOMIC_SHARED_PTR __attribute__((availability(macosx,strict,introduced=10.9))) __attribute__((availability
(ios,strict,introduced=7.0)))
#define _LIBCPP_AVAILABILITY_BAD_ARRAY_LENGTH __attribute__((unavailable))
#define _LIBCPP_AVAILABILITY_BAD_OPTIONAL_ACCESS __attribute__((unavailable))
#define _LIBCPP_AVAILABILITY_DYNARRAY _LIBCPP_AVAILABILITY_BAD_ARRAY_LENGTH
#define _LIBCPP_AVAILABILITY_FUTURE _LIBCPP_AVAILABILITY_FUTURE_ERROR
#define _LIBCPP_AVAILABILITY_FUTURE_ERROR __attribute__((availability(macosx,strict,introduced=10.8))) __attribute__((availability(ios,
strict,introduced=6.0)))
#define _LIBCPP_AVAILABILITY_LOCALE_CATEGORY __attribute__((availability(macosx,strict,introduced=10.9))) __attribute__((availability(ios,strict,introduced=7.0)))
#define _LIBCPP_AVAILABILITY_SHARED_MUTEX __attribute__((availability(macosx,strict,introduced=10.12))) __attribute__((availability(ios,strict,introduced=10.0))) __attribute__((availability(tvos,strict,introduced=10.0))) __attribute__((availability(watchos,strict,introduced=3.0)))
#define _LIBCPP_AVAILABILITY_SIZED_NEW_DELETE __attribute__((availability(macosx,strict,introduced=10.12))) __attribute__((availability(ios,strict,introduced=10.0))) __attribute__((availability(tvos,strict,introduced=10.0))) __attribute__((availability(watchos,strict,introduced=3.0)))
#define _LIBCPP_AVAILABILITY_TYPEINFO_VTABLE __attribute__((availability(macosx,strict,introduced=10.9))) __attribute__((availability(ios,strict,introduced=7.0)))
#define _LIBCPP_AVAILABILITY_UNCAUGHT_EXCEPTIONS __attribute__((availability(macosx,strict,introduced=10.12))) __attribute__((availability(ios,strict,introduced=10.0))) __attribute__((availability(tvos,strict,introduced=10.0))) __attribute__((availability(watchos,strict,introduced=3.0)))
#define _LIBCPP_BEGIN_NAMESPACE_STD namespace std {inline namespace _LIBCPP_NAMESPACE {
#define _LIBCPP_BIG_ENDIAN 0
#define _LIBCPP_BOOL_CONSTANT(__b) integral_constant<bool,(__b)>
#define _LIBCPP_CCTYPE
#define _LIBCPP_CONCAT(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y)
#define _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_X##_LIBCPP_Y
#define _LIBCPP_CONFIG
#define _LIBCPP_CONSTEXPR
#define _LIBCPP_CONSTEXPR_AFTER_CXX11
#define _LIBCPP_CSTDDEF
#define _LIBCPP_CSTDINT
#define _LIBCPP_CSTDIO
#define _LIBCPP_CSTRING
#define _LIBCPP_CWCHAR
#define _LIBCPP_CWCTYPE
#define _LIBCPP_CXX03_LANG
#define _LIBCPP_DEBUG_H
#define _LIBCPP_DECLARE_STRONG_ENUM(x) struct _LIBCPP_TYPE_VIS x { enum __lx
#define _LIBCPP_DECLARE_STRONG_ENUM_EPILOG(x) __lx __v_; _LIBCPP_ALWAYS_INLINE x(__lx __v) : __v_(__v) {} _LIBCPP_ALWAYS_INLINE explicit x(int __v) : __v_(static_cast<__lx>(__v)) {} _LIBCPP_ALWAYS_INLINE operator int() const {return __v_;} };
#define _LIBCPP_DEFAULT {}
#define _LIBCPP_DEPRECATED
#define _LIBCPP_DEPRECATED_AFTER_CXX11
#define _LIBCPP_END_NAMESPACE_STD } }
#define _LIBCPP_EXCEPTION
#define _LIBCPP_EXCEPTION_ABI __attribute__ ((__visibility__("default")))
#define _LIBCPP_EXPLICIT
#define _LIBCPP_EXPLICIT_AFTER_CXX11
#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__;
#define _LIBCPP_EXTERN_TEMPLATE2(...) extern template __VA_ARGS__;
#define _LIBCPP_FUNCTIONAL_BASE
#define _LIBCPP_FUNCTIONAL_BASE_03
#define _LIBCPP_FUNC_VIS __attribute__ ((__visibility__("default")))
#define _LIBCPP_FUNC_VIS_ONLY _LIBCPP_FUNC_VIS
#define _LIBCPP_HAS_CATOPEN 1
#define _LIBCPP_HAS_DEFAULTRUNELOCALE
#define _LIBCPP_HAS_IS_BASE_OF
#define _LIBCPP_HAS_IS_FINAL
#define _LIBCPP_HAS_NO_ADVANCED_SFINAE
#define _LIBCPP_HAS_NO_ASAN
#define _LIBCPP_HAS_NO_AUTO_TYPE
#define _LIBCPP_HAS_NO_CONSTEXPR
#define _LIBCPP_HAS_NO_CXX14_CONSTEXPR
#define _LIBCPP_HAS_NO_DECLTYPE
#define _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS
#define _LIBCPP_HAS_NO_DEFAULT_FUNCTION_TEMPLATE_ARGS
#define _LIBCPP_HAS_NO_DELETED_FUNCTIONS
#define _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
#define _LIBCPP_HAS_NO_LAMBDAS
#define _LIBCPP_HAS_NO_NOEXCEPT
#define _LIBCPP_HAS_NO_NULLPTR
#define _LIBCPP_HAS_NO_RVALUE_REFERENCES
#define _LIBCPP_HAS_NO_STATIC_ASSERT
#define _LIBCPP_HAS_NO_STRONG_ENUMS
#define _LIBCPP_HAS_NO_TEMPLATE_ALIASES
#define _LIBCPP_HAS_NO_TRAILING_RETURN
#define _LIBCPP_HAS_NO_VARIABLE_TEMPLATES
#define _LIBCPP_HAS_NO_VARIADICS
#define _LIBCPP_HIDDEN __attribute__ ((__visibility__("hidden")))
#define _LIBCPP_INITIALIZER_LIST
#define _LIBCPP_INLINE_VISIBILITY __attribute__ ((__visibility__("hidden"), __always_inline__))
#define _LIBCPP_IOSFWD
#define _LIBCPP_IS_LITERAL(T) __is_literal(T)
#define _LIBCPP_ITERATOR
#define _LIBCPP_LIMITS
#define _LIBCPP_LITTLE_ENDIAN 1
#define _LIBCPP_LOCALE__L_EXTENSIONS 1
#define _LIBCPP_MEMORY
#define _LIBCPP_NAMESPACE _LIBCPP_CONCAT(__,_LIBCPP_ABI_VERSION)
#define _LIBCPP_NEW
#define _LIBCPP_NEW_DELETE_VIS _LIBCPP_FUNC_VIS
#define _LIBCPP_NORETURN __attribute__ ((noreturn))
#define _LIBCPP_STDEXCEPT
#define _LIBCPP_STD_VER 11
#define _LIBCPP_STRING
#define _LIBCPP_TRIVIAL_PAIR_COPY_CTOR 1
#define _LIBCPP_TUPLE
#define _LIBCPP_TYPE_TRAITS
#define _LIBCPP_TYPE_VIS __attribute__ ((__type_visibility__("default")))
#define _LIBCPP_TYPE_VIS_ONLY _LIBCPP_TYPE_VIS
#define _LIBCPP_UNDERLYING_TYPE(T) __underlying_type(T)
#define _LIBCPP_UNUSED __attribute__((__unused__))
#define _LIBCPP_USE_AVAILABILITY_APPLE
#define _LIBCPP_USING_DEV_RANDOM
#define _LIBCPP_UTILITY
#define _LIBCPP_VERSION 3700
#define _LIBCPP_WCTYPE_IS_MASK
#define _LIBCPP_WEAK __attribute__((__weak__))
#define _LIBCPP___TUPLE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment