diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2025-06-02 19:13:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-02 13:13:57 -0400 |
commit | 705eedd47d1274bfc52df5b2143089c061f51f8e (patch) | |
tree | 5f8b6d3016fa0cf70bbbed5ba64b906752393f2f /libcxx/src | |
parent | 11c3e65e1d791f3de2d4b6fddf7f76eab3a8cd26 (diff) | |
download | llvm-705eedd47d1274bfc52df5b2143089c061f51f8e.zip llvm-705eedd47d1274bfc52df5b2143089c061f51f8e.tar.gz llvm-705eedd47d1274bfc52df5b2143089c061f51f8e.tar.bz2 |
[libc++] Remove availability annotations which can't fire anymore (#140049)
According to https://developer.apple.com/support/xcode/ the removed
annotations can't fire anymore, since the targets they would fire for
aren't supported anymore.
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/any.cpp | 2 | ||||
-rw-r--r-- | libcxx/src/optional.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/any.cpp b/libcxx/src/any.cpp index eaca2dd..f3fc715 100644 --- a/libcxx/src/any.cpp +++ b/libcxx/src/any.cpp @@ -18,7 +18,7 @@ const char* bad_any_cast::what() const noexcept { return "bad any cast"; } // Even though it no longer exists in a header file _LIBCPP_BEGIN_NAMESPACE_LFTS -class _LIBCPP_EXPORTED_FROM_ABI _LIBCPP_AVAILABILITY_BAD_ANY_CAST bad_any_cast : public bad_cast { +class _LIBCPP_EXPORTED_FROM_ABI bad_any_cast : public bad_cast { public: virtual const char* what() const noexcept; }; diff --git a/libcxx/src/optional.cpp b/libcxx/src/optional.cpp index 4e7e288..faabe66 100644 --- a/libcxx/src/optional.cpp +++ b/libcxx/src/optional.cpp @@ -23,7 +23,7 @@ const char* bad_optional_access::what() const noexcept { return "bad_optional_ac // Even though it no longer exists in a header file _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL -class _LIBCPP_EXPORTED_FROM_ABI _LIBCPP_AVAILABILITY_BAD_OPTIONAL_ACCESS bad_optional_access : public std::logic_error { +class _LIBCPP_EXPORTED_FROM_ABI bad_optional_access : public std::logic_error { public: bad_optional_access() : std::logic_error("Bad optional Access") {} |