66 lines · c
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-exception7//8//===----------------------------------------------------------------------===//9 10#ifndef _LIBCPP_CTYPE_H11#define _LIBCPP_CTYPE_H12 13/*14 ctype.h synopsis15 16int isalnum(int c);17int isalpha(int c);18int isblank(int c); // C9919int iscntrl(int c);20int isdigit(int c);21int isgraph(int c);22int islower(int c);23int isprint(int c);24int ispunct(int c);25int isspace(int c);26int isupper(int c);27int isxdigit(int c);28int tolower(int c);29int toupper(int c);30*/31 32#if defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)33# include <__cxx03/__config>34#else35# include <__config>36#endif37 38#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)39# pragma GCC system_header40#endif41 42#if __has_include_next(<ctype.h>)43# include_next <ctype.h>44#endif45 46#ifdef __cplusplus47 48# undef isalnum49# undef isalpha50# undef isblank51# undef iscntrl52# undef isdigit53# undef isgraph54# undef islower55# undef isprint56# undef ispunct57# undef isspace58# undef isupper59# undef isxdigit60# undef tolower61# undef toupper62 63#endif64 65#endif // _LIBCPP_CTYPE_H66