]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/libcxx/include/cwctype
dts: Update our copy for arm, arm64 and riscv dts to Linux 5.5
[FreeBSD/FreeBSD.git] / contrib / llvm-project / libcxx / include / cwctype
1 // -*- C++ -*-
2 //===--------------------------- cwctype ----------------------------------===//
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 //===----------------------------------------------------------------------===//
9
10 #ifndef _LIBCPP_CWCTYPE
11 #define _LIBCPP_CWCTYPE
12
13 /*
14     cwctype synopsis
15
16 Macros:
17
18     WEOF
19
20 namespace std
21 {
22
23 Types:
24
25     wint_t
26     wctrans_t
27     wctype_t
28
29 int iswalnum(wint_t wc);
30 int iswalpha(wint_t wc);
31 int iswblank(wint_t wc);  // C99
32 int iswcntrl(wint_t wc);
33 int iswdigit(wint_t wc);
34 int iswgraph(wint_t wc);
35 int iswlower(wint_t wc);
36 int iswprint(wint_t wc);
37 int iswpunct(wint_t wc);
38 int iswspace(wint_t wc);
39 int iswupper(wint_t wc);
40 int iswxdigit(wint_t wc);
41 int iswctype(wint_t wc, wctype_t desc);
42 wctype_t wctype(const char* property);
43 wint_t towlower(wint_t wc);
44 wint_t towupper(wint_t wc);
45 wint_t towctrans(wint_t wc, wctrans_t desc);
46 wctrans_t wctrans(const char* property);
47
48 }  // std
49
50 */
51
52 #include <__config>
53 #include <cctype>
54 #include <wctype.h>
55
56 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
57 #pragma GCC system_header
58 #endif
59
60 _LIBCPP_BEGIN_NAMESPACE_STD
61
62 using ::wint_t;
63 using ::wctrans_t;
64 using ::wctype_t;
65 using ::iswalnum;
66 using ::iswalpha;
67 using ::iswblank;
68 using ::iswcntrl;
69 using ::iswdigit;
70 using ::iswgraph;
71 using ::iswlower;
72 using ::iswprint;
73 using ::iswpunct;
74 using ::iswspace;
75 using ::iswupper;
76 using ::iswxdigit;
77 using ::iswctype;
78 using ::wctype;
79 using ::towlower;
80 using ::towupper;
81 using ::towctrans;
82 using ::wctrans;
83
84 _LIBCPP_END_NAMESPACE_STD
85
86 #endif  // _LIBCPP_CWCTYPE