[libc-commits] [libc] [libc] Add support for writing to wchar_t in printf_core/ converter functions. (PR #230246)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Oct 14 11:49:01 PDT 2026


================
@@ -47,12 +47,14 @@
 #include "src/__support/FPUtil/FPBits.h"
 #include "src/__support/FPUtil/dyadic_float.h"
 #include "src/__support/FPUtil/rounding_mode.h"
+#include "src/__support/ctype_utils.h"
 #include "src/__support/integer_to_string.h"
 #include "src/__support/libc_assert.h"
 #include "src/__support/macros/config.h"
 #include "src/__support/printf_core/core_structs.h"
 #include "src/__support/printf_core/float_inf_nan_converter.h"
 #include "src/__support/printf_core/writer.h"
+#include "src/__support/wctype_utils.h"
----------------
michaelrj-google wrote:

this should probably be guarded by a `LIBC_COPT_PRINTF_DISABLE_WIDE` check. Same for the other files.

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


More information about the libc-commits mailing list