diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2025-10-22 11:09:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-22 11:09:42 -0700 |
commit | 9fc353ee36d646ed0dc609734a364437265ec374 (patch) | |
tree | 81cb1d64d2225de48c0aa6e365737a85676d9f65 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 04b5cc6a2457dbd6b320c8345959cf60c94e3cc6 (diff) | |
download | llvm-9fc353ee36d646ed0dc609734a364437265ec374.zip llvm-9fc353ee36d646ed0dc609734a364437265ec374.tar.gz llvm-9fc353ee36d646ed0dc609734a364437265ec374.tar.bz2 |
[libc] Fix a couple issues in <wchar.h> header (#164666)
* Add FILE type declaration, as it should be presented in `<wchar.h>`,
as well as in `<stdio.h>`
* Fix argument type in `wcsrtombs` / `wcsnrtombs` function - it should
be restrict pointer to `mbstate_t`. Add restrict qualifier to internal
implementation as well.
This brings us closer to being able to build libcxx with wide-character
support against llvm-libc headers.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions