On windows, wchar_t is 16 bit, while we might be widening chars to char32_t.
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rG70bba9ef3530: [libcxx] Don't truncate intermediates to wchar_t when widening
Diff Detail
Event Timeline
libcxx/include/__locale | ||
---|---|---|
1410 | Do you know why this was added in the first place? Did you try this out on non-windows systems without the cast? |
libcxx/include/__locale | ||
---|---|---|
1410 | Not sure why it was there; it's been present since the initial libc++ commit. On linux at least, this change makes no difference in check-cxx. |
Can you please rebase on top of master and update the diff? It will re-trigger the CI, which we should see passing. LGTM once that's done.
CI doesn't trigger a second time -- maybe it's because the diff hasn't changed, or because the revision was accepted. @goncharov Do you know?
In all cases, please feel free to ship it.
Yes, in some cases revisions do not trigger herald rules at all (like this one) or have not repository set. I believe that individual configuration or how one uploads diff can cause that.
@mstorsjo have you used "arc" to create the second diff (rebased one)? Have you set any config parameters of it that might affect this?
In all cases, please feel free to ship it.
Do you know why this was added in the first place? Did you try this out on non-windows systems without the cast?