]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/libcxx/include/cstdarg
Merge llvm-project main llvmorg-15-init-17485-ga3e38b4a206b
[FreeBSD/FreeBSD.git] / contrib / llvm-project / libcxx / include / cstdarg
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef _LIBCPP_CSTDARG
11 #define _LIBCPP_CSTDARG
12
13 /*
14     cstdarg synopsis
15
16 Macros:
17
18     type va_arg(va_list ap, type);
19     void va_copy(va_list dest, va_list src);  // C99
20     void va_end(va_list ap);
21     void va_start(va_list ap, parmN);
22
23 namespace std
24 {
25
26 Types:
27
28     va_list
29
30 }  // std
31
32 */
33
34 #include <__assert> // all public C++ headers provide the assertion handler
35 #include <__config>
36 #include <stdarg.h>
37
38 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
39 #  pragma GCC system_header
40 #endif
41
42 _LIBCPP_BEGIN_NAMESPACE_STD
43
44 using ::va_list _LIBCPP_USING_IF_EXISTS;
45
46 _LIBCPP_END_NAMESPACE_STD
47
48 #endif // _LIBCPP_CSTDARG