Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-03 08:14:08

0001 // -*- C++ -*-
0002 //===----------------------------------------------------------------------===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009 
0010 #ifndef _LIBCPP_CTYPE_H
0011 #define _LIBCPP_CTYPE_H
0012 
0013 /*
0014     ctype.h synopsis
0015 
0016 int isalnum(int c);
0017 int isalpha(int c);
0018 int isblank(int c);  // C99
0019 int iscntrl(int c);
0020 int isdigit(int c);
0021 int isgraph(int c);
0022 int islower(int c);
0023 int isprint(int c);
0024 int ispunct(int c);
0025 int isspace(int c);
0026 int isupper(int c);
0027 int isxdigit(int c);
0028 int tolower(int c);
0029 int toupper(int c);
0030 */
0031 
0032 #if defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0033 #  include <__cxx03/ctype.h>
0034 #else
0035 #  include <__config>
0036 
0037 #  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0038 #    pragma GCC system_header
0039 #  endif
0040 
0041 #  if __has_include_next(<ctype.h>)
0042 #    include_next <ctype.h>
0043 #  endif
0044 
0045 #  ifdef __cplusplus
0046 
0047 #    undef isalnum
0048 #    undef isalpha
0049 #    undef isblank
0050 #    undef iscntrl
0051 #    undef isdigit
0052 #    undef isgraph
0053 #    undef islower
0054 #    undef isprint
0055 #    undef ispunct
0056 #    undef isspace
0057 #    undef isupper
0058 #    undef isxdigit
0059 #    undef tolower
0060 #    undef toupper
0061 
0062 #  endif
0063 #endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0064 
0065 #endif // _LIBCPP_CTYPE_H