[clang] 54ae11d - [Clang][NFC] Mark 3106 as implemented. (#192256)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 15 08:01:52 PDT 2026
Author: Corentin Jabot
Date: 2026-04-15T15:01:46Z
New Revision: 54ae11d3f096732d826aa89a71e3b7ceca811f2d
URL: https://github.com/llvm/llvm-project/commit/54ae11d3f096732d826aa89a71e3b7ceca811f2d
DIFF: https://github.com/llvm/llvm-project/commit/54ae11d3f096732d826aa89a71e3b7ceca811f2d.diff
LOG: [Clang][NFC] Mark 3106 as implemented. (#192256)
This was a wording clarification, but we add a test nonetheless.
Added:
clang/test/CXX/drs/cwg31xx.cpp
Modified:
clang/www/cxx_dr_status.html
Removed:
################################################################################
diff --git a/clang/test/CXX/drs/cwg31xx.cpp b/clang/test/CXX/drs/cwg31xx.cpp
new file mode 100644
index 0000000000000..3c88d5ff7c607
--- /dev/null
+++ b/clang/test/CXX/drs/cwg31xx.cpp
@@ -0,0 +1,16 @@
+// RUN: %clang_cc1 -std=c++98 -fexceptions -fcxx-exceptions -pedantic-errors %s -verify-directives -verify=expected
+// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -pedantic-errors %s -verify-directives -verify=expected
+// RUN: %clang_cc1 -std=c++14 -fexceptions -fcxx-exceptions -pedantic-errors %s -verify-directives -verify=expected
+// RUN: %clang_cc1 -std=c++17 -fexceptions -fcxx-exceptions -pedantic-errors %s -verify-directives -verify=expected
+// RUN: %clang_cc1 -std=c++20 -fexceptions -fcxx-exceptions -pedantic-errors %s -verify-directives -verify=expected
+// RUN: %clang_cc1 -std=c++23 -fexceptions -fcxx-exceptions -pedantic-errors %s -verify-directives -verify=expected
+// RUN: %clang_cc1 -std=c++2c -fexceptions -fcxx-exceptions -pedantic-errors %s -verify-directives -verify=expected
+
+
+// expected-no-diagnostics
+
+namespace cwg3106 { // cwg3106: 2.7
+#if __cplusplus >= 201103L
+const char str[9] = R"(\u{1234})";
+#endif
+} // namespace cwg3106
diff --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html
index cb0236b46e580..416c17e33a9ee 100755
--- a/clang/www/cxx_dr_status.html
+++ b/clang/www/cxx_dr_status.html
@@ -21563,7 +21563,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td>[<a href="https://wg21.link/lex.universal.char">lex.universal.char</a>]</td>
<td>DR</td>
<td>Redundant exclusion of (non-existent) UCNs in <I>r-char-sequence</I>s</td>
- <td class="unknown" align="center">Unknown</td>
+ <td class="full" align="center">Clang 2.7</td>
</tr>
<tr id="3107">
<td><a href="https://cplusplus.github.io/CWG/issues/3107.html">3107</a></td>
More information about the cfe-commits
mailing list