Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/c++/v1/__cxx03/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___CXX03_CSTDARG
0011 #define _LIBCPP___CXX03_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 #include <__cxx03/__config>
0035 
0036 // <stdarg.h> is not provided by libc++
0037 #if __has_include(<stdarg.h>)
0038 #  include <stdarg.h>
0039 #  ifdef _LIBCPP___CXX03_STDARG_H
0040 #    error "If libc++ starts defining <stdarg.h>, the __has_include check should move to libc++'s <stdarg.h>"
0041 #  endif
0042 #endif
0043 
0044 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0045 #  pragma GCC system_header
0046 #endif
0047 
0048 _LIBCPP_BEGIN_NAMESPACE_STD
0049 
0050 using ::va_list _LIBCPP_USING_IF_EXISTS;
0051 
0052 _LIBCPP_END_NAMESPACE_STD
0053 
0054 #endif // _LIBCPP___CXX03_CSTDARG