hanchenye-llvm-project/libcxxabi/src
Nico Weber 297ec32b86 Move _LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS macro to build system
_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
2018-04-29 23:05:11 +00:00
..
include [libc++abi] Replace __sync_* functions with __libcpp_atomic_* functions. 2018-04-16 22:00:14 +00:00
CMakeLists.txt [cmake] [libcxxabi] LLVM_FOUND isn't always set, so just test if 2018-01-27 19:18:04 +00:00
abort_message.cpp
abort_message.h
cxa_aux_runtime.cpp
cxa_default_handlers.cpp [libc++abi] Replace __sync_* functions with __libcpp_atomic_* functions. 2018-04-16 22:00:14 +00:00
cxa_demangle.cpp [demangler] NFC: Some refactoring to support partial demangling. 2018-04-12 20:41:06 +00:00
cxa_exception.cpp Move _LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS macro to build system 2018-04-29 23:05:11 +00:00
cxa_exception.hpp Insert padding before the __cxa_exception header to ensure the thrown 2017-11-28 00:36:29 +00:00
cxa_exception_storage.cpp
cxa_guard.cpp
cxa_handlers.cpp [libc++abi] Replace __sync_* functions with __libcpp_atomic_* functions. 2018-04-16 22:00:14 +00:00
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 Remove excess whitespace from syslog message; NFC 2017-11-13 15:40:31 +00:00
private_typeinfo.h
stdlib_exception.cpp
stdlib_new_delete.cpp
stdlib_stdexcept.cpp
stdlib_typeinfo.cpp