Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/c++/v1/cwctype 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_CWCTYPE
0011 #define _LIBCPP_CWCTYPE
0012 
0013 /*
0014     cwctype synopsis
0015 
0016 Macros:
0017 
0018     WEOF
0019 
0020 namespace std
0021 {
0022 
0023 Types:
0024 
0025     wint_t
0026     wctrans_t
0027     wctype_t
0028 
0029 int iswalnum(wint_t wc);
0030 int iswalpha(wint_t wc);
0031 int iswblank(wint_t wc);  // C99
0032 int iswcntrl(wint_t wc);
0033 int iswdigit(wint_t wc);
0034 int iswgraph(wint_t wc);
0035 int iswlower(wint_t wc);
0036 int iswprint(wint_t wc);
0037 int iswpunct(wint_t wc);
0038 int iswspace(wint_t wc);
0039 int iswupper(wint_t wc);
0040 int iswxdigit(wint_t wc);
0041 int iswctype(wint_t wc, wctype_t desc);
0042 wctype_t wctype(const char* property);
0043 wint_t towlower(wint_t wc);
0044 wint_t towupper(wint_t wc);
0045 wint_t towctrans(wint_t wc, wctrans_t desc);
0046 wctrans_t wctrans(const char* property);
0047 
0048 }  // std
0049 
0050 */
0051 
0052 #if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0053 #  include <__cxx03/cwctype>
0054 #else
0055 #  include <__config>
0056 #  include <cctype>
0057 
0058 #  include <wctype.h>
0059 
0060 #  ifndef _LIBCPP_WCTYPE_H
0061 #   error <cwctype> tried including <wctype.h> but didn't find libc++'s <wctype.h> header. \
0062           This usually means that your header search paths are not configured properly. \
0063           The header search paths should contain the C++ Standard Library headers before \
0064           any C Standard Library, and you are probably using compiler flags that make that \
0065           not be the case.
0066 #  endif
0067 
0068 #  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0069 #    pragma GCC system_header
0070 #  endif
0071 
0072 _LIBCPP_BEGIN_NAMESPACE_STD
0073 
0074 #  if defined(_LIBCPP_INCLUDED_C_LIBRARY_WCTYPE_H)
0075 using ::wint_t _LIBCPP_USING_IF_EXISTS;
0076 using ::wctrans_t _LIBCPP_USING_IF_EXISTS;
0077 using ::wctype_t _LIBCPP_USING_IF_EXISTS;
0078 using ::iswalnum _LIBCPP_USING_IF_EXISTS;
0079 using ::iswalpha _LIBCPP_USING_IF_EXISTS;
0080 using ::iswblank _LIBCPP_USING_IF_EXISTS;
0081 using ::iswcntrl _LIBCPP_USING_IF_EXISTS;
0082 using ::iswdigit _LIBCPP_USING_IF_EXISTS;
0083 using ::iswgraph _LIBCPP_USING_IF_EXISTS;
0084 using ::iswlower _LIBCPP_USING_IF_EXISTS;
0085 using ::iswprint _LIBCPP_USING_IF_EXISTS;
0086 using ::iswpunct _LIBCPP_USING_IF_EXISTS;
0087 using ::iswspace _LIBCPP_USING_IF_EXISTS;
0088 using ::iswupper _LIBCPP_USING_IF_EXISTS;
0089 using ::iswxdigit _LIBCPP_USING_IF_EXISTS;
0090 using ::iswctype _LIBCPP_USING_IF_EXISTS;
0091 using ::wctype _LIBCPP_USING_IF_EXISTS;
0092 using ::towlower _LIBCPP_USING_IF_EXISTS;
0093 using ::towupper _LIBCPP_USING_IF_EXISTS;
0094 using ::towctrans _LIBCPP_USING_IF_EXISTS;
0095 using ::wctrans _LIBCPP_USING_IF_EXISTS;
0096 #  endif // _LIBCPP_INCLUDED_C_LIBRARY_WCTYPE_H
0097 
0098 _LIBCPP_END_NAMESPACE_STD
0099 
0100 #endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0101 
0102 #endif // _LIBCPP_CWCTYPE