Skip to content

Commit

Permalink
[libc++] Remove #error about _LIBCPP_DEBUG
Browse files Browse the repository at this point in the history
This doesn't require a release note since this used to be an error,
so nobody should have been using it anymore.
  • Loading branch information
ldionne committed Feb 7, 2023
1 parent c5c329b commit ff573a4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions libcxx/include/__assert
Expand Up @@ -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
Expand Down

0 comments on commit ff573a4

Please sign in to comment.