[libcxx-commits] [libcxx] ff573a4 - [libc++] Remove #error about _LIBCPP_DEBUG

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 7 07:43:16 PST 2023


Author: Louis Dionne
Date: 2023-02-07T07:42:33-08:00
New Revision: ff573a42cd1f1d05508f165dc3e645a0ec17edb5

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

LOG: [libc++] Remove #error about _LIBCPP_DEBUG

This doesn't require a release note since this used to be an error,
so nobody should have been using it anymore.

Added: 
    

Modified: 
    libcxx/include/__assert

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__assert b/libcxx/include/__assert
index d94a657aac50..e20ee50b127c 100644
--- a/libcxx/include/__assert
+++ b/libcxx/include/__assert
@@ -17,11 +17,6 @@
 #  pragma GCC system_header
 #endif
 
-// TODO: Remove in LLVM 17.
-#if defined(_LIBCPP_DEBUG)
-#  error "Defining _LIBCPP_DEBUG is not supported anymore. Please use _LIBCPP_ENABLE_DEBUG_MODE instead."
-#endif
-
 // Automatically enable assertions when the debug mode is enabled.
 #if defined(_LIBCPP_ENABLE_DEBUG_MODE)
 #  ifndef _LIBCPP_ENABLE_ASSERTIONS


        


More information about the libcxx-commits mailing list