[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 07:35:44 PDT 2020


cgyurgyik updated this revision to Diff 283604.
cgyurgyik retitled this revision from "[libc] Add strpbrk implementation." to "[libc] Add strcpsn and strpbrk implementation.".
cgyurgyik edited the summary of this revision.
cgyurgyik added a comment.

Address MaskRay's comment. Adds strcspn implementation, and uses it in strpbrk.


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/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.283604.patch
Type: text/x-patch
Size: 11154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200806/b7f4a104/attachment.bin>


More information about the libc-commits mailing list