[libc] Adds a simple strstr implementation as well as unit tests. This will be improved in follow-up revisions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D83956
[libc] Add strstr implementation. ClosedPublic Authored by cgyurgyik on Jul 16 2020, 8:33 AM.
Details
Summary [libc] Adds a simple strstr implementation as well as unit tests. This will be improved in follow-up revisions.
Diff Detail
Event Timelinesivachandra added inline comments.
This revision is now accepted and ready to land.Jul 20 2020, 11:11 PM Closed by commit rGd080635bfca2: [libc] Add strstr implementation. (authored by cgyurgyik). · Explain WhyJul 21 2020, 8:39 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 279307 libc/config/linux/aarch64/entrypoints.txt
libc/config/linux/x86_64/entrypoints.txt
libc/src/string/CMakeLists.txt
libc/src/string/strstr.h
libc/src/string/strstr.cpp
libc/test/src/string/CMakeLists.txt
libc/test/src/string/strstr_test.cpp
|
Nitty comment on a comment: Remove (and will) :)