diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2021-01-19 13:04:01 -0500 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2021-02-04 11:40:22 -0500 |
commit | 76fc35752d19ac605c1c1fd757af9c7c3bb4a906 (patch) | |
tree | addc05d817029064b09e987b69d335cbdabf8ec7 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 85b9c5ccc172a1e61c7ecaaec4752587cb6f1e26 (diff) | |
download | llvm-76fc35752d19ac605c1c1fd757af9c7c3bb4a906.zip llvm-76fc35752d19ac605c1c1fd757af9c7c3bb4a906.tar.gz llvm-76fc35752d19ac605c1c1fd757af9c7c3bb4a906.tar.bz2 |
[libc++] Make feature-test macros consistent with availability macros
Before this patch, feature-test macros didn't take special availability
markup into account, which means that feature-test macros can sometimes
appear to "lie". For example, if you compile in C++20 mode and target
macOS 10.13, the __cpp_lib_filesystem feature-test macro will be provided
even though the <filesystem> declarations are marked as unavailable.
This patch fixes that.
rdar://68142369
Differential Revision: https://reviews.llvm.org/D94983
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions