Skip to content

Commit ff573a4

Browse files
committed
[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.
1 parent c5c329b commit ff573a4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libcxx/include/__assert

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717
# pragma GCC system_header
1818
#endif
1919

20-
// TODO: Remove in LLVM 17.
21-
#if defined(_LIBCPP_DEBUG)
22-
# error "Defining _LIBCPP_DEBUG is not supported anymore. Please use _LIBCPP_ENABLE_DEBUG_MODE instead."
23-
#endif
24-
2520
// Automatically enable assertions when the debug mode is enabled.
2621
#if defined(_LIBCPP_ENABLE_DEBUG_MODE)
2722
# ifndef _LIBCPP_ENABLE_ASSERTIONS

0 commit comments

Comments
 (0)