[libc-commits] [PATCH] D106511: [libc] Add explicit C++ casting to strchr, strrchr, memchr, and memrchr

Alf via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jul 23 11:57:48 PDT 2021


gAlfonso-bit updated this revision to Diff 361290.
gAlfonso-bit added a comment.

Add more explicit ‘\0’ checks


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106511/new/

https://reviews.llvm.org/D106511

Files:
  libc/src/string/memchr.cpp
  libc/src/string/memrchr.cpp
  libc/src/string/strchr.cpp
  libc/src/string/string_utils.h
  libc/src/string/strrchr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106511.361290.patch
Type: text/x-patch
Size: 4914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210723/5dc915b3/attachment.bin>


More information about the libc-commits mailing list