aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorenh-google <enh@google.com>2025-08-01 14:15:34 -0400
committerGitHub <noreply@github.com>2025-08-01 14:15:34 -0400
commitb36f05ce48bd714182481765ac14fcaff129639f (patch)
tree5286dca15b6f2b685b84439248b731485cad8377 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parentafce9320ca40bcab0c08b59576a3afffff3cf171 (diff)
downloadllvm-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