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 #if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
38 # include <__cxx03/cctype>
44 # ifndef _LIBCPP_CTYPE_H
45 # error <cctype> tried including <ctype.h> but didn't find libc++'s <ctype.h> header. \
46 This usually means that your header search paths are not configured properly. \
47 The header search paths should contain the C++ Standard Library headers before \
48 any C Standard Library.
51 # if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
52 # pragma GCC system_header
55 _LIBCPP_BEGIN_NAMESPACE_STD
113 using ::isalnum _LIBCPP_USING_IF_EXISTS;
114 using ::isalpha _LIBCPP_USING_IF_EXISTS;
115 using ::isblank _LIBCPP_USING_IF_EXISTS;
116 using ::iscntrl _LIBCPP_USING_IF_EXISTS;
117 using ::isdigit _LIBCPP_USING_IF_EXISTS;
118 using ::isgraph _LIBCPP_USING_IF_EXISTS;
119 using ::islower _LIBCPP_USING_IF_EXISTS;
120 using ::isprint _LIBCPP_USING_IF_EXISTS;
121 using ::ispunct _LIBCPP_USING_IF_EXISTS;
122 using ::isspace _LIBCPP_USING_IF_EXISTS;
123 using ::isupper _LIBCPP_USING_IF_EXISTS;
124 using ::isxdigit _LIBCPP_USING_IF_EXISTS;
125 using ::tolower _LIBCPP_USING_IF_EXISTS;
126 using ::toupper _LIBCPP_USING_IF_EXISTS;
128 _LIBCPP_END_NAMESPACE_STD
129 #endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
131 #endif // _LIBCPP_CCTYPE