aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/stdexcept.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-07-12 01:38:35 +0000
committerEric Fiselier <eric@efcs.ca>2017-07-12 01:38:35 +0000
commite3e7c0fb37adc8e3bd92fe550ca444edc0b75a75 (patch)
tree7e661b45624f03c723e01b8c3a83bb57c6f908dd /libcxx/src/stdexcept.cpp
parent84800d999c65cbff6cade7dfc6e67ce2d888742c (diff)
downloadllvm-e3e7c0fb37adc8e3bd92fe550ca444edc0b75a75.zip
llvm-e3e7c0fb37adc8e3bd92fe550ca444edc0b75a75.tar.gz
llvm-e3e7c0fb37adc8e3bd92fe550ca444edc0b75a75.tar.bz2
Remove <__refstring> header; Move it into source directory.
The libc++ <__refstring> headers has no real reason why it should be a public header that libc++ ships. The only reason it was in the include directory was because libc++abi needed it to build the library. However keeping <__refstring> a header had other problems, like requiring its dependancies to also be in the headers. For that reason this patch moves it into the source directory. To work around libc++abi's need for this header a duplicated copy was added to libc++abi in r307748. While duplicating the code is an unfortunate solution it's the best solution that's currently possible. In the future I would like to start a discussion on the mailing lists about making libc++abi build as a sub-project of libc++, requiring the libc++ sources always be present. llvm-svn: 307749
Diffstat (limited to 'libcxx/src/stdexcept.cpp')
-rw-r--r--libcxx/src/stdexcept.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/stdexcept.cpp b/libcxx/src/stdexcept.cpp
index 3f33330..5e06e52 100644
--- a/libcxx/src/stdexcept.cpp
+++ b/libcxx/src/stdexcept.cpp
@@ -11,7 +11,7 @@
#include "new"
#include "string"
#include "system_error"
-#include "__refstring"
+#include "include/refstring.h"
/* For _LIBCPPABI_VERSION */
#if !defined(_LIBCPP_BUILDING_HAS_NO_ABI_LIBRARY) && \