[libc-commits] [PATCH] D107600: [libc] move ctype_utils to __support
Michael Jones via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Aug 5 14:31:08 PDT 2021
michaelrj created this revision.
michaelrj added a reviewer: sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added a project: libc-project.
michaelrj requested review of this revision.
Some ctype functions are called from other libc functions (e.g. isspace
is used in atoi). By moving ctype_utils.h to __support it becomes easier
to include just the implementations of these functions.
Also in this patch the implementation for isspace was moved into
ctype_utils.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D107600
Files:
libc/src/__support/ctype_utils.h
libc/src/ctype/ctype_utils.h
libc/src/ctype/isalnum.cpp
libc/src/ctype/isalpha.cpp
libc/src/ctype/isdigit.cpp
libc/src/ctype/isgraph.cpp
libc/src/ctype/islower.cpp
libc/src/ctype/ispunct.cpp
libc/src/ctype/isspace.cpp
libc/src/ctype/isupper.cpp
libc/src/ctype/isxdigit.cpp
libc/src/ctype/tolower.cpp
libc/src/ctype/toupper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107600.364616.patch
Type: text/x-patch
Size: 5450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210805/a366c29e/attachment.bin>
More information about the libc-commits
mailing list