Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/c++/v1/cctype 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_CCTYPE
0011 #define _LIBCPP_CCTYPE
0012 
0013 /*
0014     cctype synopsis
0015 
0016 namespace std
0017 {
0018 
0019 int isalnum(int c);
0020 int isalpha(int c);
0021 int isblank(int c);  // C99
0022 int iscntrl(int c);
0023 int isdigit(int c);
0024 int isgraph(int c);
0025 int islower(int c);
0026 int isprint(int c);
0027 int ispunct(int c);
0028 int isspace(int c);
0029 int isupper(int c);
0030 int isxdigit(int c);
0031 int tolower(int c);
0032 int toupper(int c);
0033 
0034 }  // std
0035 */
0036 
0037 #if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0038 #  include <__cxx03/cctype>
0039 #else
0040 #  include <__config>
0041 
0042 #  include <ctype.h>
0043 
0044 #  ifndef _LIBCPP_CTYPE_H
0045 #   error <cctype> tried including <ctype.h> but didn't find libc++'s <ctype.h> header. \
0046           This usually means that your header search paths are not configured properly.  \
0047           The header search paths should contain the C++ Standard Library headers before \
0048           any C Standard Library.
0049 #  endif
0050 
0051 #  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0052 #    pragma GCC system_header
0053 #  endif
0054 
0055 _LIBCPP_BEGIN_NAMESPACE_STD
0056 
0057 #  ifdef isalnum
0058 #    undef isalnum
0059 #  endif
0060 
0061 #  ifdef isalpha
0062 #    undef isalpha
0063 #  endif
0064 
0065 #  ifdef isblank
0066 #    undef isblank
0067 #  endif
0068 
0069 #  ifdef iscntrl
0070 #    undef iscntrl
0071 #  endif
0072 
0073 #  ifdef isdigit
0074 #    undef isdigit
0075 #  endif
0076 
0077 #  ifdef isgraph
0078 #    undef isgraph
0079 #  endif
0080 
0081 #  ifdef islower
0082 #    undef islower
0083 #  endif
0084 
0085 #  ifdef isprint
0086 #    undef isprint
0087 #  endif
0088 
0089 #  ifdef ispunct
0090 #    undef ispunct
0091 #  endif
0092 
0093 #  ifdef isspace
0094 #    undef isspace
0095 #  endif
0096 
0097 #  ifdef isupper
0098 #    undef isupper
0099 #  endif
0100 
0101 #  ifdef isxdigit
0102 #    undef isxdigit
0103 #  endif
0104 
0105 #  ifdef tolower
0106 #    undef tolower
0107 #  endif
0108 
0109 #  ifdef toupper
0110 #    undef toupper
0111 #  endif
0112 
0113 using ::isalnum _LIBCPP_USING_IF_EXISTS;
0114 using ::isalpha _LIBCPP_USING_IF_EXISTS;
0115 using ::isblank _LIBCPP_USING_IF_EXISTS;
0116 using ::iscntrl _LIBCPP_USING_IF_EXISTS;
0117 using ::isdigit _LIBCPP_USING_IF_EXISTS;
0118 using ::isgraph _LIBCPP_USING_IF_EXISTS;
0119 using ::islower _LIBCPP_USING_IF_EXISTS;
0120 using ::isprint _LIBCPP_USING_IF_EXISTS;
0121 using ::ispunct _LIBCPP_USING_IF_EXISTS;
0122 using ::isspace _LIBCPP_USING_IF_EXISTS;
0123 using ::isupper _LIBCPP_USING_IF_EXISTS;
0124 using ::isxdigit _LIBCPP_USING_IF_EXISTS;
0125 using ::tolower _LIBCPP_USING_IF_EXISTS;
0126 using ::toupper _LIBCPP_USING_IF_EXISTS;
0127 
0128 _LIBCPP_END_NAMESPACE_STD
0129 #endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0130 
0131 #endif // _LIBCPP_CCTYPE