[libcxx-commits] [libcxx] 2671fcc - [libc++] NFC: Remove unused macros in <__config>

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 1 13:51:50 PST 2020


Author: Louis Dionne
Date: 2020-12-01T16:51:25-05:00
New Revision: 2671fccf0381769276ca8246ec0499adcb9b0355

URL: https://github.com/llvm/llvm-project/commit/2671fccf0381769276ca8246ec0499adcb9b0355
DIFF: https://github.com/llvm/llvm-project/commit/2671fccf0381769276ca8246ec0499adcb9b0355.diff

LOG: [libc++] NFC: Remove unused macros in <__config>

Added: 
    

Modified: 
    libcxx/include/__config

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__config b/libcxx/include/__config
index 0b850f192d54..1a206680ecdc 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -442,10 +442,6 @@ typedef __char32_t char32_t;
 #  define _LIBCPP_NORETURN __attribute__ ((noreturn))
 #endif
 
-#if !(__has_feature(cxx_lambdas))
-#define _LIBCPP_HAS_NO_LAMBDAS
-#endif
-
 #if !(__has_feature(cxx_nullptr))
 #  if (__has_extension(cxx_nullptr) || __has_keyword(__nullptr)) && defined(_LIBCPP_ABI_ALWAYS_USE_CXX11_NULLPTR)
 #    define nullptr __nullptr
@@ -454,10 +450,6 @@ typedef __char32_t char32_t;
 #  endif
 #endif
 
-#if !(__has_feature(cxx_auto_type))
-#define _LIBCPP_HAS_NO_AUTO_TYPE
-#endif
-
 // Objective-C++ features (opt-in)
 #if __has_feature(objc_arc)
 #define _LIBCPP_HAS_OBJC_ARC


        


More information about the libcxx-commits mailing list