[libcxx-commits] [libcxx] 6720bc2 - [libc++] Remove error about _LIBCPP_ALTERNATE_STRING_LAYOUT not being supported anymore

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 5 16:45:29 PDT 2022


Author: Louis Dionne
Date: 2022-04-05T19:45:21-04:00
New Revision: 6720bc202ae5554e08eb7d345b9181d24a7bdfe1

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

LOG: [libc++] Remove error about _LIBCPP_ALTERNATE_STRING_LAYOUT not being supported anymore

It's been over two years since I added the temporary error, so I think
it's reasonable to remove it now.

Added: 
    

Modified: 
    libcxx/include/__config

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__config b/libcxx/include/__config
index 6e3a0bfb56468..7a4d5743f147a 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -391,9 +391,6 @@
 
 #if defined(_LIBCPP_COMPILER_CLANG_BASED)
 
-#if defined(_LIBCPP_ALTERNATE_STRING_LAYOUT)
-#  error _LIBCPP_ALTERNATE_STRING_LAYOUT is deprecated, please use _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT instead
-#endif
 #if defined(__APPLE__) && !defined(__i386__) && !defined(__x86_64__) &&       \
     (!defined(__arm__) || __ARM_ARCH_7K__ >= 2)
 #  define _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT


        


More information about the libcxx-commits mailing list