Warning, /include/c++/v1/__cxx03/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___CXX03_CCTYPE
0011 #define _LIBCPP___CXX03_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 #include <__cxx03/__config>
0038
0039 #include <__cxx03/ctype.h>
0040
0041 #ifndef _LIBCPP___CXX03_CTYPE_H
0042 # error <cctype> tried including <ctype.h> but didn't find libc++'s <ctype.h> header. \
0043 This usually means that your header search paths are not configured properly. \
0044 The header search paths should contain the C++ Standard Library headers before \
0045 any C Standard Library.
0046 #endif
0047
0048 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0049 # pragma GCC system_header
0050 #endif
0051
0052 _LIBCPP_BEGIN_NAMESPACE_STD
0053
0054 #ifdef isalnum
0055 # undef isalnum
0056 #endif
0057
0058 #ifdef isalpha
0059 # undef isalpha
0060 #endif
0061
0062 #ifdef isblank
0063 # undef isblank
0064 #endif
0065
0066 #ifdef iscntrl
0067 # undef iscntrl
0068 #endif
0069
0070 #ifdef isdigit
0071 # undef isdigit
0072 #endif
0073
0074 #ifdef isgraph
0075 # undef isgraph
0076 #endif
0077
0078 #ifdef islower
0079 # undef islower
0080 #endif
0081
0082 #ifdef isprint
0083 # undef isprint
0084 #endif
0085
0086 #ifdef ispunct
0087 # undef ispunct
0088 #endif
0089
0090 #ifdef isspace
0091 # undef isspace
0092 #endif
0093
0094 #ifdef isupper
0095 # undef isupper
0096 #endif
0097
0098 #ifdef isxdigit
0099 # undef isxdigit
0100 #endif
0101
0102 #ifdef tolower
0103 # undef tolower
0104 #endif
0105
0106 #ifdef toupper
0107 # undef toupper
0108 #endif
0109
0110 using ::isalnum _LIBCPP_USING_IF_EXISTS;
0111 using ::isalpha _LIBCPP_USING_IF_EXISTS;
0112 using ::isblank _LIBCPP_USING_IF_EXISTS;
0113 using ::iscntrl _LIBCPP_USING_IF_EXISTS;
0114 using ::isdigit _LIBCPP_USING_IF_EXISTS;
0115 using ::isgraph _LIBCPP_USING_IF_EXISTS;
0116 using ::islower _LIBCPP_USING_IF_EXISTS;
0117 using ::isprint _LIBCPP_USING_IF_EXISTS;
0118 using ::ispunct _LIBCPP_USING_IF_EXISTS;
0119 using ::isspace _LIBCPP_USING_IF_EXISTS;
0120 using ::isupper _LIBCPP_USING_IF_EXISTS;
0121 using ::isxdigit _LIBCPP_USING_IF_EXISTS;
0122 using ::tolower _LIBCPP_USING_IF_EXISTS;
0123 using ::toupper _LIBCPP_USING_IF_EXISTS;
0124
0125 _LIBCPP_END_NAMESPACE_STD
0126
0127 #endif // _LIBCPP___CXX03_CCTYPE