[all-commits] [llvm/llvm-project] c2a423: [libc++] Don't try to provide source_location on A...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Mar 28 06:53:30 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2a42381c18edf0fedd0fc7e3c8541d4fa3e0bcc
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-03-28 (Tue, 28 Mar 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.


Differential Revision: https://reviews.llvm.org/D146837

More information about the All-commits mailing list