[llvm-branch-commits] [libcxx] ce9ac54 - [libc++] Remove __is_construct::__nat. NFCI.

Arthur O'Dwyer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 14 07:01:28 PST 2020


Author: Arthur O'Dwyer
Date: 2020-12-14T09:54:58-05:00
New Revision: ce9ac549c9396a1308630f838c87a44b5284ea01

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

LOG: [libc++] Remove __is_construct::__nat. NFCI.

This type has been unused since commit 5b4cc84b87232e67afb63e2bad429b3211b26964.

Added: 
    

Modified: 
    libcxx/include/type_traits

Removed: 
    


################################################################################
diff  --git a/libcxx/include/type_traits b/libcxx/include/type_traits
index 2842c905e302..3bcb1d74fcad 100644
--- a/libcxx/include/type_traits
+++ b/libcxx/include/type_traits
@@ -2878,11 +2878,6 @@ struct __member_pointer_class_type<_Ret _ClassType::*> {
 
 // template <class T, class... Args> struct is_constructible;
 
-namespace __is_construct
-{
-struct __nat {};
-}
-
 #if defined(_LIBCPP_COMPILER_GCC) && _GNUC_VER_NEW >= 10000
 # define _LIBCPP_GCC_SUPPORTS_IS_CONSTRUCTIBLE
 #endif


        


More information about the llvm-branch-commits mailing list