[libc-commits] [PATCH] D85386: [libc] Add strcpsn and strpbrk implementation.
Chris Gyurgyik via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Aug 6 10:33:13 PDT 2020
cgyurgyik updated this revision to Diff 283649.
cgyurgyik added a comment.
Replaces `include "../strcspn.h"` with a common static function in a string_util. This allows the user to package libc with `strpbrk` but without `strcspn`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85386/new/
https://reviews.llvm.org/D85386
Files:
libc/config/linux/aarch64/entrypoints.txt
libc/config/linux/x86_64/entrypoints.txt
libc/src/string/CMakeLists.txt
libc/src/string/strcspn.cpp
libc/src/string/strcspn.h
libc/src/string/string_utils.h
libc/src/string/strpbrk.cpp
libc/src/string/strpbrk.h
libc/src/string/strspn.cpp
libc/test/src/string/CMakeLists.txt
libc/test/src/string/strcspn_test.cpp
libc/test/src/string/strpbrk_test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85386.283649.patch
Type: text/x-patch
Size: 12331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200806/d762e44f/attachment-0001.bin>
More information about the libc-commits
mailing list