diff options
author | enh-google <enh@google.com> | 2025-08-01 14:15:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-01 14:15:34 -0400 |
commit | b36f05ce48bd714182481765ac14fcaff129639f (patch) | |
tree | 5286dca15b6f2b685b84439248b731485cad8377 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | afce9320ca40bcab0c08b59576a3afffff3cf171 (diff) | |
download | llvm-b36f05ce48bd714182481765ac14fcaff129639f.zip llvm-b36f05ce48bd714182481765ac14fcaff129639f.tar.gz llvm-b36f05ce48bd714182481765ac14fcaff129639f.tar.bz2 |
[libc] Fix wcstok() "subsequent searches" behavior. (#151589)
POSIX says "If no such wide-character code is found, the current token
extends to the end of the wide-character string pointed to by ws1, and
subsequent searches for a token shall return a null pointer", but the
current implementation only returns nullptr the first time. This failed
an existing bionic test when I tried to switch over to llvm-libc
wcstok().
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions