[all-commits] [llvm/llvm-project] 59f88a: [libc] clean up string_utils memory functions (#14...
Michael Jones via All-commits
all-commits at lists.llvm.org
Fri Jun 6 11:17:15 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 59f88a8e929b9eff97f2c37f835d9fe70d1dd0c7
https://github.com/llvm/llvm-project/commit/59f88a8e929b9eff97f2c37f835d9fe70d1dd0c7
Author: Michael Jones <michaelrj at google.com>
Date: 2025-06-06 (Fri, 06 Jun 2025)
Changed paths:
M libc/src/string/CMakeLists.txt
M libc/src/string/string_utils.h
M libc/src/string/strsep.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc] clean up string_utils memory functions (#143031)
The string_utils.h file previously included both memcpy and bzero. There
were no uses of bzero, and only one use of memcpy which was replaced
with __builtin_memcpy.
Also fix strsep which was broken by this change, fix a useless assert of
"sizeof(char) == sizeof(cpp::byte)", and update the bazel.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list