[all-commits] [llvm/llvm-project] 1fa1bc: [libc++] Don't try to provide source_location on A...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Tue Apr 4 10:51:44 PDT 2023
Branch: refs/heads/release/16.x
Home: https://github.com/llvm/llvm-project
Commit: 1fa1bc9c2dff6ea28803e77790ffeddc7d22ec42
https://github.com/llvm/llvm-project/commit/1fa1bc9c2dff6ea28803e77790ffeddc7d22ec42
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-04-04 (Tue, 04 Apr 2023)
Changed paths:
M libcxx/include/__config
M libcxx/include/source_location
M libcxx/include/version
M libcxx/test/std/language.support/support.limits/support.limits.general/source_location.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
M libcxx/test/support/test_macros.h
M libcxx/utils/generate_feature_test_macro_components.py
Log Message:
-----------
[libc++] Don't try to provide source_location on AppleClang 1403
AppleClang 1403 has some bugs that prevent std::source_location from
working properly on it. Consequently, we XFAILed the unit test for
source_location with that compiler. However, we should also avoid
advertising that the feature is supported on that compiler, otherwise
our feature-test macros lie. This was noticed to break Boost.Asio
when building with a recent libc++ and AppleClang 14.0.3.
rdar://106863087
Differential Revision: https://reviews.llvm.org/D146837
(cherry picked from commit c2a42381c18edf0fedd0fc7e3c8541d4fa3e0bcc)
More information about the All-commits
mailing list