[libc-commits] [libc] [libc] Stop duplicating wcschr(). (PR #150661)
Uzair Nawaz via libc-commits
libc-commits at lists.llvm.org
Fri Jul 25 11:13:36 PDT 2025
================
@@ -31,11 +25,11 @@ LLVM_LIBC_FUNCTION(wchar_t *, wcstok,
}
wchar_t *tok_start, *tok_end;
- for (tok_start = str; *tok_start != L'\0' && isADelimeter(*tok_start, delim);
+ for (tok_start = str; *tok_start != L'\0' && wcschr(delims, *tok_start);
----------------
uzairnawaz wrote:
Should this be `internal::wcschr`? (here and below)
https://github.com/llvm/llvm-project/pull/150661
More information about the libc-commits
mailing list