diff options
author | Andrey Khalyavin <halyavin@gmail.com> | 2022-02-10 16:46:29 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:29 +0300 |
commit | f773626848a7c7456803654292e716b83d69cc12 (patch) | |
tree | db052dfcf9134f492bdbb962cb6c16cea58e1ed3 /contrib/libs/cxxsupp/libcxx/include/stddef.h | |
parent | f43ab775d197d300eb67bd4497632b909cd7c2a5 (diff) | |
download | ydb-f773626848a7c7456803654292e716b83d69cc12.tar.gz |
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 1 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 bee1edb40d..c7e5b6e812 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 |