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
37 #include <__assert> // all public C++ headers provide the assertion handler
42 #ifndef _LIBCPP_CTYPE_H
43 # error <cctype> tried including <ctype.h> but didn't find libc++'s <ctype.h> header. \
44 This usually means that your header search paths are not configured properly. \
45 The header search paths should contain the C++ Standard Library headers before \
46 any C Standard Library.
49 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
50 # pragma GCC system_header
53 _LIBCPP_BEGIN_NAMESPACE_STD
112 using ::isalnum _LIBCPP_USING_IF_EXISTS;
113 using ::isalpha _LIBCPP_USING_IF_EXISTS;
114 using ::isblank _LIBCPP_USING_IF_EXISTS;
115 using ::iscntrl _LIBCPP_USING_IF_EXISTS;
116 using ::isdigit _LIBCPP_USING_IF_EXISTS;
117 using ::isgraph _LIBCPP_USING_IF_EXISTS;
118 using ::islower _LIBCPP_USING_IF_EXISTS;
119 using ::isprint _LIBCPP_USING_IF_EXISTS;
120 using ::ispunct _LIBCPP_USING_IF_EXISTS;
121 using ::isspace _LIBCPP_USING_IF_EXISTS;
122 using ::isupper _LIBCPP_USING_IF_EXISTS;
123 using ::isxdigit _LIBCPP_USING_IF_EXISTS;
124 using ::tolower _LIBCPP_USING_IF_EXISTS;
125 using ::toupper _LIBCPP_USING_IF_EXISTS;
127 _LIBCPP_END_NAMESPACE_STD
129 #endif // _LIBCPP_CCTYPE