Warning, /include/c++/v1/cstdarg is written in an unsupported language. File is not indexed.
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 #ifndef _LIBCPP_CSTDARG
0011 #define _LIBCPP_CSTDARG
0012
0013 /*
0014 cstdarg synopsis
0015
0016 Macros:
0017
0018 type va_arg(va_list ap, type);
0019 void va_copy(va_list dest, va_list src); // C99
0020 void va_end(va_list ap);
0021 void va_start(va_list ap, parmN);
0022
0023 namespace std
0024 {
0025
0026 Types:
0027
0028 va_list
0029
0030 } // std
0031
0032 */
0033
0034 #if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0035 # include <__cxx03/cstdarg>
0036 #else
0037 # include <__config>
0038
0039 // <stdarg.h> is not provided by libc++
0040 # if __has_include(<stdarg.h>)
0041 # include <stdarg.h>
0042 # ifdef _LIBCPP_STDARG_H
0043 # error "If libc++ starts defining <stdarg.h>, the __has_include check should move to libc++'s <stdarg.h>"
0044 # endif
0045 # endif
0046
0047 # if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0048 # pragma GCC system_header
0049 # endif
0050
0051 _LIBCPP_BEGIN_NAMESPACE_STD
0052
0053 using ::va_list _LIBCPP_USING_IF_EXISTS;
0054
0055 _LIBCPP_END_NAMESPACE_STD
0056
0057 #endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0058
0059 #endif // _LIBCPP_CSTDARG