[libcxx-commits] [libcxx] 8da0df3 - [libc++] Remove unused includes of Availability.h
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Oct 7 15:04:26 PDT 2020
Author: Louis Dionne
Date: 2020-10-07T18:03:40-04:00
New Revision: 8da0df3d6dcc0dd42740be60b0da4ec201190904
URL: https://github.com/llvm/llvm-project/commit/8da0df3d6dcc0dd42740be60b0da4ec201190904
DIFF: https://github.com/llvm/llvm-project/commit/8da0df3d6dcc0dd42740be60b0da4ec201190904.diff
LOG: [libc++] Remove unused includes of Availability.h
Since ebaf1d5e2b, the macros defined in <Availability.h> are not used
anymore.
Added:
Modified:
libcxx/include/iterator
libcxx/include/locale
Removed:
################################################################################
diff --git a/libcxx/include/iterator b/libcxx/include/iterator
index e8e379624ac0..99f9b8173dbf 100644
--- a/libcxx/include/iterator
+++ b/libcxx/include/iterator
@@ -421,9 +421,6 @@ template <class E> constexpr const E* data(initializer_list<E> il) noexcept;
#include <cstddef>
#include <initializer_list>
#include <version>
-#ifdef __APPLE__
-#include <Availability.h>
-#endif
#include <__debug>
diff --git a/libcxx/include/locale b/libcxx/include/locale
index 60aab50d1764..2723c0cfea66 100644
--- a/libcxx/include/locale
+++ b/libcxx/include/locale
@@ -197,10 +197,6 @@ template <class charT> class messages_byname;
#include <nl_types.h>
#endif
-#ifdef __APPLE__
-#include <Availability.h>
-#endif
-
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
#include <__bsd_locale_defaults.h>
#else
More information about the libcxx-commits
mailing list