aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/system_error.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2022-02-14 13:41:09 -0500
committerLouis Dionne <ldionne.2@gmail.com>2022-02-16 12:49:50 -0500
commitf87aa19be64499308fc18f92d048c5fa2d3064d9 (patch)
tree2d19d790ac6deddfbc3343b83ec89bd5851c4a98 /libcxx/src/system_error.cpp
parentae62aaa171b8409ac930391103b9523493a46d8e (diff)
downloadllvm-f87aa19be64499308fc18f92d048c5fa2d3064d9.zip
llvm-f87aa19be64499308fc18f92d048c5fa2d3064d9.tar.gz
llvm-f87aa19be64499308fc18f92d048c5fa2d3064d9.tar.bz2
[libc++] Move everything related solely to _LIBCPP_ASSERT to its own file
This is the first step towards disentangling the debug mode and assertions in libc++. This patch doesn't make any functional change: it simply moves _LIBCPP_ASSERT-related stuff to its own file so as to make it clear that libc++ assertions and the debug mode are different things. Future patches will make it possible to enable assertions without enabling the debug mode. Differential Revision: https://reviews.llvm.org/D119769
Diffstat (limited to 'libcxx/src/system_error.cpp')
-rw-r--r--libcxx/src/system_error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/system_error.cpp b/libcxx/src/system_error.cpp
index 1c45702..66db76c 100644
--- a/libcxx/src/system_error.cpp
+++ b/libcxx/src/system_error.cpp
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
+#include <__assert>
#include <__config>
-#include <__debug>
#include <cerrno>
#include <cstdio>
#include <cstdlib>