diff options
author | Andrey Khalyavin <halyavin@gmail.com> | 2022-02-10 16:46:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:30 +0300 |
commit | 4b839d0704ee9be1dabb0310a1f03af24963637b (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/cxxsupp/libcxx/include/stddef.h | |
parent | f773626848a7c7456803654292e716b83d69cc12 (diff) | |
download | ydb-4b839d0704ee9be1dabb0310a1f03af24963637b.tar.gz |
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include/stddef.h')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/stddef.h | 124 |
1 files changed, 62 insertions, 62 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/stddef.h b/contrib/libs/cxxsupp/libcxx/include/stddef.h index c7e5b6e812..bee1edb40d 100644 --- a/contrib/libs/cxxsupp/libcxx/include/stddef.h +++ b/contrib/libs/cxxsupp/libcxx/include/stddef.h @@ -1,65 +1,65 @@ -// -*- C++ -*- -//===--------------------------- stddef.h ---------------------------------===// -// +// -*- C++ -*- +//===--------------------------- stddef.h ---------------------------------===// +// // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// - -#if defined(__need_ptrdiff_t) || defined(__need_size_t) || \ - defined(__need_wchar_t) || defined(__need_NULL) || defined(__need_wint_t) - -#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) -#pragma GCC system_header -#endif - -#ifdef _LIBCPP_COMPILER_MSVC -#include _LIBCPP_UCRT_INCLUDE(stddef.h) -#else -#include_next <stddef.h> -#endif - -#elif !defined(_LIBCPP_STDDEF_H) -#define _LIBCPP_STDDEF_H - -/* - stddef.h synopsis - -Macros: - - offsetof(type,member-designator) - NULL - -Types: - - ptrdiff_t - size_t - max_align_t // C++11 - nullptr_t - -*/ - -#include <__config> - -#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) -#pragma GCC system_header -#endif - -#ifdef _LIBCPP_COMPILER_MSVC -#include _LIBCPP_UCRT_INCLUDE(stddef.h) -typedef double max_align_t; -#else -#include_next <stddef.h> -#endif - -#ifdef __cplusplus - -extern "C++" { -#include <__nullptr> -using std::nullptr_t; -} - -#endif - -#endif // _LIBCPP_STDDEF_H +// +//===----------------------------------------------------------------------===// + +#if defined(__need_ptrdiff_t) || defined(__need_size_t) || \ + defined(__need_wchar_t) || defined(__need_NULL) || defined(__need_wint_t) + +#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) +#pragma GCC system_header +#endif + +#ifdef _LIBCPP_COMPILER_MSVC +#include _LIBCPP_UCRT_INCLUDE(stddef.h) +#else +#include_next <stddef.h> +#endif + +#elif !defined(_LIBCPP_STDDEF_H) +#define _LIBCPP_STDDEF_H + +/* + stddef.h synopsis + +Macros: + + offsetof(type,member-designator) + NULL + +Types: + + ptrdiff_t + size_t + max_align_t // C++11 + nullptr_t + +*/ + +#include <__config> + +#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) +#pragma GCC system_header +#endif + +#ifdef _LIBCPP_COMPILER_MSVC +#include _LIBCPP_UCRT_INCLUDE(stddef.h) +typedef double max_align_t; +#else +#include_next <stddef.h> +#endif + +#ifdef __cplusplus + +extern "C++" { +#include <__nullptr> +using std::nullptr_t; +} + +#endif + +#endif // _LIBCPP_STDDEF_H |