[libc-commits] [libc] [libc] Use an existing helper in wcspbrk.cpp (PR #150444)
via libc-commits
libc-commits at lists.llvm.org
Thu Jul 24 11:16:10 PDT 2025
sribee8 wrote:
> huh. internal::wcschr() has its arguments the opposite way round from wcschr(). deliberate or accidental? (that is: "should i change the caller or the callee?")
the internal function was initially called something else- renaming it might be more optimal since the internal returns a bool while the public function returns a pointer and it is not being used by the public wcschr function
https://github.com/llvm/llvm-project/pull/150444
More information about the libc-commits
mailing list