The aim is to add the missing z/OS specific locale functions for libc++ (newlocale, freelocale and uselocale).
Details
- Reviewers
ldionne zibi curdeius - Group Reviewers
Restricted Project - Commits
- rGebe6161c54b9: [SystemZ][z/OS] Missing locale functions libc++
Diff Detail
Event Timeline
I am fine with this change in the sense of how it integrates with the rest of libc++. I did not review the implementation itself - I trust you folks that it works, otherwise it'll break on your own platform :-).
I strongly recommend addressing my small comment about the formatting in uselocale.
libcxx/src/support/ibm/xlocale_zos.cpp | ||
---|---|---|
124–127 | This is a really really weird way to save a few lines of code. I would never do that, it looks too much like an unintended mistake. |
LGTM.
libcxx/include/__support/ibm/locale_mgmt_zos.h | ||
---|---|---|
45 | Last missing dot (no need to update the review, just add it when landing). |
Last missing dot (no need to update the review, just add it when landing).