| 1 | //===----------------------------------------------------------------------===// |
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | /// |
| 9 | /// \file |
| 10 | /// Implementation of cpp::nullptr_t. |
| 11 | /// |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef LLVM_LIBC_SRC___SUPPORT_CPP_CSTDDEF_NULLPTR_T_H |
| 15 | #define LLVM_LIBC_SRC___SUPPORT_CPP_CSTDDEF_NULLPTR_T_H |
| 16 | |
| 17 | #include "src/__support/macros/config.h" |
| 18 | |
| 19 | namespace LIBC_NAMESPACE_DECL { |
| 20 | namespace cpp { |
| 21 | |
| 22 | using nullptr_t = decltype(nullptr); |
| 23 | |
| 24 | } // namespace cpp |
| 25 | } // namespace LIBC_NAMESPACE_DECL |
| 26 | |
| 27 | #endif // LLVM_LIBC_SRC___SUPPORT_CPP_CSTDDEF_NULLPTR_T_H |
| 28 | |