297ec32b86
_LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS is currently used to bring back std::unexpected, which is removed in C++17, but still needed for libc++abi for backward compatibility. This macro used to define in cxa_exception.cpp only, but actually needed for all sources that touches exceptions. So, a build-system-level macro is better fit to define this macro. https://reviews.llvm.org/D46056 Patch from Taiju Tsuiku <tzik@chromium.org>! llvm-svn: 331150 |
||
---|---|---|
.. | ||
include | ||
CMakeLists.txt | ||
abort_message.cpp | ||
abort_message.h | ||
cxa_aux_runtime.cpp | ||
cxa_default_handlers.cpp | ||
cxa_demangle.cpp | ||
cxa_exception.cpp | ||
cxa_exception.hpp | ||
cxa_exception_storage.cpp | ||
cxa_guard.cpp | ||
cxa_handlers.cpp | ||
cxa_handlers.hpp | ||
cxa_noexception.cpp | ||
cxa_personality.cpp | ||
cxa_thread_atexit.cpp | ||
cxa_unexpected.cpp | ||
cxa_vector.cpp | ||
cxa_virtual.cpp | ||
fallback_malloc.cpp | ||
fallback_malloc.h | ||
private_typeinfo.cpp | ||
private_typeinfo.h | ||
stdlib_exception.cpp | ||
stdlib_new_delete.cpp | ||
stdlib_stdexcept.cpp | ||
stdlib_typeinfo.cpp |