[all-commits] [llvm/llvm-project] be087a: [libc++] Re-introduce _LIBCPP_DISABLE_AVAILABILITY...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Fri May 9 13:42:29 PDT 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: be087ab35970dffe3e473b5a10266ed356261746
https://github.com/llvm/llvm-project/commit/be087ab35970dffe3e473b5a10266ed356261746
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2025-05-09 (Fri, 09 May 2025)
Changed paths:
M libcxx/docs/ReleaseNotes/20.rst
M libcxx/include/__configuration/availability.h
A libcxx/test/libcxx/vendor/apple/disable-availability.sh.cpp
Log Message:
-----------
[libc++] Re-introduce _LIBCPP_DISABLE_AVAILABILITY (#134158)
The `_LIBCPP_DISABLE_AVAILABILITY` macro was removed in afae1a5f32bb as an
intended no-op. It turns out that some projects are making use of that
macro to work around a Clang bug with availability annotations that
still exists: https://github.com/llvm/llvm-project/issues/134151.
Since that Clang bug still hasn't been fixed, I feel that we must sill
honor that unfortunate macro until we've figured out how to get rid of
it without breaking code.
(cherry picked from commit 25fc52e655fb4bfd3bb89948d5cbfe011e1b8984)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list