[libc] add isascii and toascii implementations
authorMichael Jones <michaelrj@google.com>
Tue, 12 Jan 2021 22:37:56 +0000 (22:37 +0000)
committerMichael Jones <michaelrj@google.com>
Tue, 12 Jan 2021 23:41:20 +0000 (23:41 +0000)
commit04edcc02638bc70772baa50a74e582bb8e029872
treee625110bb899f6c5a3fab96912bc904294754e1f
parent314e29ed2b78c69111635ecab94541b94c9e4c67
[libc] add isascii and toascii implementations

adding both at once since these are trivial functions.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D94558
12 files changed:
libc/config/linux/aarch64/entrypoints.txt
libc/config/linux/x86_64/entrypoints.txt
libc/spec/gnu_ext.td
libc/spec/posix.td
libc/src/ctype/CMakeLists.txt
libc/src/ctype/isascii.cpp [new file with mode: 0644]
libc/src/ctype/isascii.h [new file with mode: 0644]
libc/src/ctype/toascii.cpp [new file with mode: 0644]
libc/src/ctype/toascii.h [new file with mode: 0644]
libc/test/src/ctype/CMakeLists.txt
libc/test/src/ctype/isascii_test.cpp [new file with mode: 0644]
libc/test/src/ctype/toascii_test.cpp [new file with mode: 0644]