[libc-commits] [libc] [libc] Support %lc in printf (PR #169983)

Shubh Pachchigar via libc-commits libc-commits at lists.llvm.org
Sat Dec 6 11:11:50 PST 2025


================
@@ -33,7 +37,27 @@ LIBC_INLINE int convert_char(Writer<write_mode> *writer,
     RET_IF_RESULT_NEGATIVE(writer->write(' ', padding_spaces));
   }
 
-  RET_IF_RESULT_NEGATIVE(writer->write(c));
+  if (to_conv.length_modifier == LengthModifier::l) {
----------------
shubhe25p wrote:

Okay sure I can do that, thanks for the suggestion. I really appreciate it.

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


More information about the libc-commits mailing list