[libcxx-commits] [libcxx] [libc++][NFC] Update `text_encoding` documentation w.r.t "ASCII" (PR #218175)

William Tran-Viet via libcxx-commits libcxx-commits at lists.llvm.org
Sat Aug 22 17:53:06 PDT 2026


https://github.com/smallp-o-p created https://github.com/llvm/llvm-project/pull/218175

Resolves #209899

Turns out, this entry _wasn't_ an extension as I had initially thought, and was added as part of the resolution of [LWG 4043](https://cplusplus.github.io/LWG/issue4043), which we seem to not have an issue for.

So, update documentation and test data.

>From c2d5c133cc718561c7751b39d3c5e20988a619f5 Mon Sep 17 00:00:00 2001
From: William Tran-Viet <wtranviet at proton.me>
Date: Sat, 22 Aug 2026 20:46:49 -0400
Subject: [PATCH] Update issue, update test data

---
 libcxx/docs/Status/Cxx26Issues.csv       | 2 +-
 libcxx/test/support/test_text_encoding.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/libcxx/docs/Status/Cxx26Issues.csv b/libcxx/docs/Status/Cxx26Issues.csv
index 2f22fdb63a815..a843fcfff94f9 100644
--- a/libcxx/docs/Status/Cxx26Issues.csv
+++ b/libcxx/docs/Status/Cxx26Issues.csv
@@ -57,7 +57,7 @@
 "`LWG4036 <https://wg21.link/LWG4036>`__","``__alignof_is_defined`` is only implicitly specified in C++ and not yet deprecated","2024-03 (Tokyo)","","","`#105329 <https://github.com/llvm/llvm-project/issues/105329>`__",""
 "`LWG4037 <https://wg21.link/LWG4037>`__","Static data members of ``ctype_base`` are not yet required to be usable in constant expressions","2024-03 (Tokyo)","","","`#105330 <https://github.com/llvm/llvm-project/issues/105330>`__",""
 "`LWG4038 <https://wg21.link/LWG4038>`__","``std::text_encoding::aliases_view`` should have constexpr iterators","2024-03 (Tokyo)","|Complete|","23","`#105332 <https://github.com/llvm/llvm-project/issues/105332>`__",""
-"`LWG4043 <https://wg21.link/LWG4043>`__","""ASCII"" is not a registered character encoding","2024-03 (Tokyo)","|Nothing To Do|","","`#105335 <https://github.com/llvm/llvm-project/issues/105335>`__",""
+"`LWG4043 <https://wg21.link/LWG4043>`__","""ASCII"" is not a registered character encoding","2024-03 (Tokyo)","|Complete|","23","`#105335 <https://github.com/llvm/llvm-project/issues/105335>`__",""
 "`LWG4045 <https://wg21.link/LWG4045>`__","``tuple`` can create dangling references from ``tuple-like``","2024-03 (Tokyo)","","","`#105337 <https://github.com/llvm/llvm-project/issues/105337>`__",""
 "`LWG4053 <https://wg21.link/LWG4053>`__","Unary call to ``std::views::repeat`` does not decay the argument","2024-03 (Tokyo)","|Complete|","19","`#105338 <https://github.com/llvm/llvm-project/issues/105338>`__",""
 "`LWG4054 <https://wg21.link/LWG4054>`__","Repeating a ``repeat_view`` should repeat the view","2024-03 (Tokyo)","|Complete|","19","`#105340 <https://github.com/llvm/llvm-project/issues/105340>`__",""
diff --git a/libcxx/test/support/test_text_encoding.h b/libcxx/test/support/test_text_encoding.h
index e18bc3aaeea15..2477c260dd572 100644
--- a/libcxx/test/support/test_text_encoding.h
+++ b/libcxx/test/support/test_text_encoding.h
@@ -293,6 +293,7 @@ constexpr inline enc_data all_encoding_data[] = {
     {3, "ISO_646.irv:1991"},
     {3, "cp367"},
     {3, "csASCII"},
+    {3, "ASCII"},
     {3, "iso-ir-6"},
     {3, "us"},
     {4, "ISO-8859-1"},



More information about the libcxx-commits mailing list