forked from OSchip/llvm-project
[libc++] NFC: Remove unused macros in <__config>
This commit is contained in:
parent
99d82412f8
commit
2671fccf03
|
@ -442,10 +442,6 @@ typedef __char32_t char32_t;
|
||||||
# define _LIBCPP_NORETURN __attribute__ ((noreturn))
|
# define _LIBCPP_NORETURN __attribute__ ((noreturn))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !(__has_feature(cxx_lambdas))
|
|
||||||
#define _LIBCPP_HAS_NO_LAMBDAS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !(__has_feature(cxx_nullptr))
|
#if !(__has_feature(cxx_nullptr))
|
||||||
# if (__has_extension(cxx_nullptr) || __has_keyword(__nullptr)) && defined(_LIBCPP_ABI_ALWAYS_USE_CXX11_NULLPTR)
|
# if (__has_extension(cxx_nullptr) || __has_keyword(__nullptr)) && defined(_LIBCPP_ABI_ALWAYS_USE_CXX11_NULLPTR)
|
||||||
# define nullptr __nullptr
|
# define nullptr __nullptr
|
||||||
|
@ -454,10 +450,6 @@ typedef __char32_t char32_t;
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !(__has_feature(cxx_auto_type))
|
|
||||||
#define _LIBCPP_HAS_NO_AUTO_TYPE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Objective-C++ features (opt-in)
|
// Objective-C++ features (opt-in)
|
||||||
#if __has_feature(objc_arc)
|
#if __has_feature(objc_arc)
|
||||||
#define _LIBCPP_HAS_OBJC_ARC
|
#define _LIBCPP_HAS_OBJC_ARC
|
||||||
|
|
Loading…
Reference in New Issue