1227825Stheraven// -*- C++ -*-
2227825Stheraven//===---------------------------- cctype ----------------------------------===//
3227825Stheraven//
4353358Sdim// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5353358Sdim// See https://llvm.org/LICENSE.txt for license information.
6353358Sdim// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7227825Stheraven//
8227825Stheraven//===----------------------------------------------------------------------===//
9227825Stheraven
10227825Stheraven#ifndef _LIBCPP_CCTYPE
11227825Stheraven#define _LIBCPP_CCTYPE
12227825Stheraven
13227825Stheraven/*
14227825Stheraven    cctype synopsis
15227825Stheraven
16227825Stheravennamespace std
17227825Stheraven{
18227825Stheraven
19227825Stheravenint isalnum(int c);
20227825Stheravenint isalpha(int c);
21227825Stheravenint isblank(int c);  // C99
22227825Stheravenint iscntrl(int c);
23227825Stheravenint isdigit(int c);
24227825Stheravenint isgraph(int c);
25227825Stheravenint islower(int c);
26227825Stheravenint isprint(int c);
27227825Stheravenint ispunct(int c);
28227825Stheravenint isspace(int c);
29227825Stheravenint isupper(int c);
30227825Stheravenint isxdigit(int c);
31227825Stheravenint tolower(int c);
32227825Stheravenint toupper(int c);
33227825Stheraven
34227825Stheraven}  // std
35227825Stheraven*/
36227825Stheraven
37227825Stheraven#include <__config>
38227825Stheraven#include <ctype.h>
39227825Stheraven
40227825Stheraven#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
41227825Stheraven#pragma GCC system_header
42227825Stheraven#endif
43227825Stheraven
44227825Stheraven_LIBCPP_BEGIN_NAMESPACE_STD
45227825Stheraven
46309124Sdim#ifdef isalnum
47309124Sdim#undef isalnum
48309124Sdim#endif
49309124Sdim
50309124Sdim#ifdef isalpha
51309124Sdim#undef isalpha
52309124Sdim#endif
53309124Sdim
54309124Sdim#ifdef isblank
55309124Sdim#undef isblank
56309124Sdim#endif
57309124Sdim
58309124Sdim#ifdef iscntrl
59309124Sdim#undef iscntrl
60309124Sdim#endif
61309124Sdim
62309124Sdim#ifdef isdigit
63309124Sdim#undef isdigit
64309124Sdim#endif
65309124Sdim
66309124Sdim#ifdef isgraph
67309124Sdim#undef isgraph
68309124Sdim#endif
69309124Sdim
70309124Sdim#ifdef islower
71309124Sdim#undef islower
72309124Sdim#endif
73309124Sdim
74309124Sdim#ifdef isprint
75309124Sdim#undef isprint
76309124Sdim#endif
77309124Sdim
78309124Sdim#ifdef ispunct
79309124Sdim#undef ispunct
80309124Sdim#endif
81309124Sdim
82309124Sdim#ifdef isspace
83309124Sdim#undef isspace
84309124Sdim#endif
85309124Sdim
86309124Sdim#ifdef isupper
87309124Sdim#undef isupper
88309124Sdim#endif
89309124Sdim
90309124Sdim#ifdef isxdigit
91309124Sdim#undef isxdigit
92309124Sdim#endif
93309124Sdim
94309124Sdim#ifdef tolower
95309124Sdim#undef tolower
96309124Sdim#endif
97309124Sdim
98309124Sdim#ifdef toupper
99309124Sdim#undef toupper
100309124Sdim#endif
101309124Sdim
102309124Sdim
103227825Stheravenusing ::isalnum;
104227825Stheravenusing ::isalpha;
105227825Stheravenusing ::isblank;
106227825Stheravenusing ::iscntrl;
107227825Stheravenusing ::isdigit;
108227825Stheravenusing ::isgraph;
109227825Stheravenusing ::islower;
110227825Stheravenusing ::isprint;
111227825Stheravenusing ::ispunct;
112227825Stheravenusing ::isspace;
113227825Stheravenusing ::isupper;
114227825Stheravenusing ::isxdigit;
115227825Stheravenusing ::tolower;
116227825Stheravenusing ::toupper;
117227825Stheraven
118227825Stheraven_LIBCPP_END_NAMESPACE_STD
119227825Stheraven
120227825Stheraven#endif  // _LIBCPP_CCTYPE
121