[libcxx-commits] [libcxx] f1cf6b4 - [libc++] Remove transitional #error message

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 16 10:36:25 PST 2020


Author: Louis Dionne
Date: 2020-11-16T13:36:16-05:00
New Revision: f1cf6b47e4b659bae3314acbb0d11d533bd4175f

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

LOG: [libc++] Remove transitional #error message

It's been more than 4 years now, so anyone that was defining
_LIBCPP_TRIVIAL_PAIR_COPY_CTOR has had ample time to see that
error and fix their code.

Added: 
    

Modified: 
    libcxx/include/__config

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__config b/libcxx/include/__config
index 8c361b4a10d0..d68e128cec7d 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -125,11 +125,6 @@
 #  endif
 #endif
 
-#ifdef _LIBCPP_TRIVIAL_PAIR_COPY_CTOR
-#error "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is no longer supported. \
-       use _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR instead
-#endif
-
 #if defined(_LIBCPP_BUILDING_LIBRARY) || defined(_LIBCPP_ABI_UNSTABLE) || _LIBCPP_ABI_VERSION >= 2
 // Enable additional explicit instantiations of iostreams components. This
 // reduces the number of weak definitions generated in programs that use


        


More information about the libcxx-commits mailing list