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

Alex Strelnikov via libc-commits libc-commits at lists.llvm.org
Thu Oct 15 06:49:39 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"
----------------
strel-12 wrote:

Added guards here and in the other headers. Updated CMakeLists.txt to move the dep to another conditional variable named `converter_wchar_deps` like `wchar_deps` and `parser_wchar_deps`.

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


More information about the libc-commits mailing list