aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ModuleDependencyCollector.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-04-29 23:05:11 +0000
committerNico Weber <nicolasweber@gmx.de>2018-04-29 23:05:11 +0000
commit297ec32b86753d1b90e250d92bec0fc2f5d0a634 (patch)
treea38ab2b7b3c17ae9d49c54a2f589394ca20aeeda /clang/lib/Frontend/ModuleDependencyCollector.cpp
parent5731558979a669baf4a1b1841672c3d603e5232d (diff)
downloadllvm-297ec32b86753d1b90e250d92bec0fc2f5d0a634.zip
llvm-297ec32b86753d1b90e250d92bec0fc2f5d0a634.tar.gz
llvm-297ec32b86753d1b90e250d92bec0fc2f5d0a634.tar.bz2
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
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions