Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-03 08:13:46

0001 // -*- C++ -*-
0002 //===----------------------------------------------------------------------===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009 
0010 /*
0011     stddef.h synopsis
0012 
0013 Macros:
0014 
0015     offsetof(type,member-designator)
0016     NULL
0017 
0018 Types:
0019 
0020     ptrdiff_t
0021     size_t
0022     max_align_t // C++11
0023     nullptr_t
0024 
0025 */
0026 
0027 #include <__cxx03/__config>
0028 
0029 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0030 #  pragma GCC system_header
0031 #endif
0032 
0033 // Note: This include is outside of header guards because we sometimes get included multiple times
0034 //       with different defines and the underlying <stddef.h> will know how to deal with that.
0035 #include_next <stddef.h>
0036 
0037 #ifndef _LIBCPP___CXX03_STDDEF_H
0038 #  define _LIBCPP___CXX03_STDDEF_H
0039 
0040 #  ifdef __cplusplus
0041 typedef decltype(nullptr) nullptr_t;
0042 #  endif
0043 
0044 #endif // _LIBCPP___CXX03_STDDEF_H