mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 09:16:31 +00:00
[libc++][NFC] Remove a few unused <__availablity> includes (#86126)
This commit is contained in:
parent
7ef602b58c
commit
beeb15b716
@ -9,7 +9,6 @@
|
||||
#ifndef _LIBCPP___EXCEPTION_OPERATIONS_H
|
||||
#define _LIBCPP___EXCEPTION_OPERATIONS_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <cstddef>
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FILESYSTEM_COPY_OPTIONS_H
|
||||
#define _LIBCPP___FILESYSTEM_COPY_OPTIONS_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FILESYSTEM_DIRECTORY_OPTIONS_H
|
||||
#define _LIBCPP___FILESYSTEM_DIRECTORY_OPTIONS_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FILESYSTEM_FILE_STATUS_H
|
||||
#define _LIBCPP___FILESYSTEM_FILE_STATUS_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__filesystem/file_type.h>
|
||||
#include <__filesystem/perms.h>
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FILESYSTEM_FILE_TIME_TYPE_H
|
||||
#define _LIBCPP___FILESYSTEM_FILE_TIME_TYPE_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__chrono/file_clock.h>
|
||||
#include <__chrono/time_point.h>
|
||||
#include <__config>
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FILESYSTEM_FILE_TYPE_H
|
||||
#define _LIBCPP___FILESYSTEM_FILE_TYPE_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FILESYSTEM_PERM_OPTIONS_H
|
||||
#define _LIBCPP___FILESYSTEM_PERM_OPTIONS_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FILESYSTEM_PERMS_H
|
||||
#define _LIBCPP___FILESYSTEM_PERMS_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FILESYSTEM_SPACE_INFO_H
|
||||
#define _LIBCPP___FILESYSTEM_SPACE_INFO_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <cstdint>
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FORMAT_FORMAT_ARGS_H
|
||||
#define _LIBCPP___FORMAT_FORMAT_ARGS_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__format/format_arg.h>
|
||||
#include <__format/format_arg_store.h>
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FORMAT_FORMAT_CONTEXT_H
|
||||
#define _LIBCPP___FORMAT_FORMAT_CONTEXT_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__config>
|
||||
#include <__format/buffer.h>
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FORMAT_FORMATTER_H
|
||||
#define _LIBCPP___FORMAT_FORMATTER_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__fwd/format.h>
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include <__algorithm/copy.h>
|
||||
#include <__assert>
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__format/concepts.h>
|
||||
#include <__format/format_parse_context.h>
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FORMAT_FORMATTER_CHAR_H
|
||||
#define _LIBCPP___FORMAT_FORMATTER_CHAR_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__concepts/same_as.h>
|
||||
#include <__config>
|
||||
#include <__format/concepts.h>
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FORMAT_FORMATTER_INTEGER_H
|
||||
#define _LIBCPP___FORMAT_FORMATTER_INTEGER_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__concepts/arithmetic.h>
|
||||
#include <__config>
|
||||
#include <__format/concepts.h>
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FORMAT_FORMATTER_POINTER_H
|
||||
#define _LIBCPP___FORMAT_FORMATTER_POINTER_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__format/concepts.h>
|
||||
#include <__format/format_parse_context.h>
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FORMAT_FORMATTER_STRING_H
|
||||
#define _LIBCPP___FORMAT_FORMATTER_STRING_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__format/concepts.h>
|
||||
#include <__format/format_parse_context.h>
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___FWD_FORMAT_H
|
||||
#define _LIBCPP___FWD_FORMAT_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__iterator/concepts.h>
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___LOCALE
|
||||
#define _LIBCPP___LOCALE
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__locale_dir/locale_base_api.h>
|
||||
#include <__memory/shared_ptr.h> // __shared_count
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___MEMORY_SHARED_PTR_H
|
||||
#define _LIBCPP___MEMORY_SHARED_PTR_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__compare/compare_three_way.h>
|
||||
#include <__compare/ordering.h>
|
||||
#include <__config>
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef _LIBCPP___THREAD_SUPPORT_PTHREAD_H
|
||||
#define _LIBCPP___THREAD_SUPPORT_PTHREAD_H
|
||||
|
||||
#include <__availability>
|
||||
#include <__chrono/convert_to_timespec.h>
|
||||
#include <__chrono/duration.h>
|
||||
#include <__config>
|
||||
|
@ -80,7 +80,6 @@ namespace std {
|
||||
|
||||
*/
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__memory/allocator.h>
|
||||
#include <__memory/allocator_destructor.h>
|
||||
|
@ -369,7 +369,6 @@ template <class R, class Alloc> struct uses_allocator<packaged_task<R>, Alloc>;
|
||||
#endif
|
||||
|
||||
#include <__assert>
|
||||
#include <__availability>
|
||||
#include <__chrono/duration.h>
|
||||
#include <__chrono/time_point.h>
|
||||
#include <__exception/exception_ptr.h>
|
||||
|
@ -86,7 +86,6 @@ void operator delete[](void* ptr, void*) noexcept;
|
||||
|
||||
*/
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__exception/exception.h>
|
||||
#include <__type_traits/is_function.h>
|
||||
|
@ -128,7 +128,6 @@ template <class Mutex>
|
||||
# error "<shared_mutex> is not supported since libc++ has been configured without support for threads."
|
||||
#endif
|
||||
|
||||
#include <__availability>
|
||||
#include <__chrono/duration.h>
|
||||
#include <__chrono/steady_clock.h>
|
||||
#include <__chrono/time_point.h>
|
||||
|
@ -92,7 +92,6 @@ void sleep_for(const chrono::duration<Rep, Period>& rel_time);
|
||||
# error "<thread> is not supported since libc++ has been configured without support for threads."
|
||||
#endif
|
||||
|
||||
#include <__availability>
|
||||
#include <__thread/formatter.h>
|
||||
#include <__thread/jthread.h>
|
||||
#include <__thread/support.h>
|
||||
|
@ -56,7 +56,6 @@ public:
|
||||
|
||||
*/
|
||||
|
||||
#include <__availability>
|
||||
#include <__config>
|
||||
#include <__exception/exception.h>
|
||||
#include <__type_traits/is_constant_evaluated.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user