2 //===----------------------------------------------------------------------===//
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 #ifndef _LIBCPP_CCTYPE
11 #define _LIBCPP_CCTYPE
21 int isblank(int c); // C99
41 #ifndef _LIBCPP_CTYPE_H
42 # error <cctype> tried including <ctype.h> but didn't find libc++'s <ctype.h> header. \
43 This usually means that your header search paths are not configured properly. \
44 The header search paths should contain the C++ Standard Library headers before \
45 any C Standard Library.
48 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
49 # pragma GCC system_header
52 _LIBCPP_BEGIN_NAMESPACE_STD
110 using ::isalnum _LIBCPP_USING_IF_EXISTS;
111 using ::isalpha _LIBCPP_USING_IF_EXISTS;
112 using ::isblank _LIBCPP_USING_IF_EXISTS;
113 using ::iscntrl _LIBCPP_USING_IF_EXISTS;
114 using ::isdigit _LIBCPP_USING_IF_EXISTS;
115 using ::isgraph _LIBCPP_USING_IF_EXISTS;
116 using ::islower _LIBCPP_USING_IF_EXISTS;
117 using ::isprint _LIBCPP_USING_IF_EXISTS;
118 using ::ispunct _LIBCPP_USING_IF_EXISTS;
119 using ::isspace _LIBCPP_USING_IF_EXISTS;
120 using ::isupper _LIBCPP_USING_IF_EXISTS;
121 using ::isxdigit _LIBCPP_USING_IF_EXISTS;
122 using ::tolower _LIBCPP_USING_IF_EXISTS;
123 using ::toupper _LIBCPP_USING_IF_EXISTS;
125 _LIBCPP_END_NAMESPACE_STD
127 #endif // _LIBCPP_CCTYPE