[libc] Move str{,r}chr implementation to headers
authorAlex Brachet <abrachet@google.com>
Tue, 11 Apr 2023 01:11:32 +0000 (01:11 +0000)
committerAlex Brachet <abrachet@google.com>
Tue, 11 Apr 2023 01:16:56 +0000 (01:16 +0000)
commit82ca29ce54d3b7d8e47aa151e0ce3dff37727c1a
tree76237a36a0a78c0d572b696575f49037eae258ec
parentd8804ecd76db331b622d011f5b72838b25bbf910
[libc] Move str{,r}chr implementation to headers

Differential Revision: https://reviews.llvm.org/D147463
libc/src/string/CMakeLists.txt
libc/src/string/strchr.cpp
libc/src/string/strchrnul.cpp
libc/src/string/string_utils.h
libc/src/string/strrchr.cpp
libc/test/src/string/CMakeLists.txt
libc/test/src/string/StrchrTest.h [new file with mode: 0644]
libc/test/src/string/strchr_test.cpp
libc/test/src/string/strrchr_test.cpp
utils/bazel/llvm-project-overlay/libc/test/src/string/BUILD.bazel