[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git] / libcxx / include / ctype.h
blob308d6e457c13583fa256758f5d1a7b44b96a89d4
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
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
7 //
8 //===----------------------------------------------------------------------===//
10 #ifndef _LIBCPP_CTYPE_H
11 #define _LIBCPP_CTYPE_H
14 ctype.h synopsis
16 int isalnum(int c);
17 int isalpha(int c);
18 int isblank(int c); // C99
19 int iscntrl(int c);
20 int isdigit(int c);
21 int isgraph(int c);
22 int islower(int c);
23 int isprint(int c);
24 int ispunct(int c);
25 int isspace(int c);
26 int isupper(int c);
27 int isxdigit(int c);
28 int tolower(int c);
29 int toupper(int c);
32 #include <__config>
34 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
35 #pragma GCC system_header
36 #endif
38 #include_next <ctype.h>
40 #ifdef __cplusplus
42 #undef isalnum
43 #undef isalpha
44 #undef isblank
45 #undef iscntrl
46 #undef isdigit
47 #undef isgraph
48 #undef islower
49 #undef isprint
50 #undef ispunct
51 #undef isspace
52 #undef isupper
53 #undef isxdigit
54 #undef tolower
55 #undef toupper
57 #endif
59 #endif // _LIBCPP_CTYPE_H