[libc-commits] [libc] [libc] Support %lc in printf (PR #169983)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Thu Dec 4 13:53:33 PST 2025
================
@@ -255,3 +256,83 @@ TEST_F(LlvmLibcPrintfConverterTest, OctConversion) {
ASSERT_STREQ(str, "1234");
ASSERT_EQ(writer.get_chars_written(), size_t{4});
}
+
+TEST_F(LlvmLibcPrintfConverterTest, WideCharConversion) {
----------------
michaelrj-google wrote:
For simplicity most of the functionality testing of the printf conversions is actually done in `sprintf_test.cpp`. Doing it that way makes the tests less verbose and more accurate to their actual use. I would recommend removing the tests from `converter_test.cpp` and only having the wide character tests in `sprintf_test.cpp`.
https://github.com/llvm/llvm-project/pull/169983
More information about the libc-commits
mailing list