[libc-commits] [libc] [libc] Add wchar support to File (PR #189504)
Jeff Bailey via libc-commits
libc-commits at lists.llvm.org
Thu Apr 9 01:00:00 PDT 2026
================
@@ -53,6 +56,20 @@ void File::lock_list() { File::list_lock.lock(); }
void File::unlock_list() { File::list_lock.unlock(); }
FileIOResult File::write_unlocked(const void *data, size_t len) {
+ switch (orientation) {
+ case Orientation::WIDE:
----------------
kaladron wrote:
Design question for you: At some point is it worth having a class and subclasses for these rather than a flag?
https://github.com/llvm/llvm-project/pull/189504
More information about the libc-commits
mailing list