[libc-commits] [libc] [libc] Support %lc in printf (PR #169983)
Shubh Pachchigar via libc-commits
libc-commits at lists.llvm.org
Sat Dec 27 12:41:18 PST 2025
================
@@ -173,7 +177,15 @@ template <typename ArgProvider> class Parser {
section.has_conv = true;
break;
case ('c'):
- WRITE_ARG_VAL_SIMPLEST(section.conv_val_raw, int, conv_index);
+ if (section.length_modifier == LengthModifier::l) {
+#ifndef LIBC_COPT_PRINTF_DISABLE_WIDE
----------------
shubhe25p wrote:
I think won't be able to import inside a namespace, I will use this but import the header file outside the namespace
https://github.com/llvm/llvm-project/pull/169983
More information about the libc-commits
mailing list