[libc-commits] [libc] [libcxx] [libc][libc++] Fix return types of <wchar.h> search functions (PR #242566)

Aiden Grossman via libc-commits libc-commits at lists.llvm.org
Fri Nov 13 21:01:18 PST 2026


https://github.com/boomanaiden154 approved this pull request.

Would be good to mention that this is being done to fix breakages where existing code assigns the result to a non-const `wchar_t*`.

`const_cast` is ugly, but POSIX does specify this...

https://github.com/llvm/llvm-project/pull/242566


More information about the libc-commits mailing list