[all-commits] [llvm/llvm-project] c6d03b: [libc] add strncmp to strings
michaelrj-google via All-commits
all-commits at lists.llvm.org
Wed Jul 28 14:37:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c6d03b583b48c00171e79d3bcf61168c97f874b9
https://github.com/llvm/llvm-project/commit/c6d03b583b48c00171e79d3bcf61168c97f874b9
Author: Michael Jones <michaelrj at google.com>
Date: 2021-07-28 (Wed, 28 Jul 2021)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/config/windows/entrypoints.txt
M libc/src/string/CMakeLists.txt
A libc/src/string/strncmp.cpp
A libc/src/string/strncmp.h
M libc/test/src/string/CMakeLists.txt
A libc/test/src/string/strncmp_test.cpp
Log Message:
-----------
[libc] add strncmp to strings
Add strncmp as a function to strings.h. Also adds unit tests, and adds
strncmp as an entrypoint for all current platforms.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D106901
More information about the All-commits
mailing list