[libcxx-commits] [clang] [libcxx] [Clang] Diagnose forming references to nullptr (PR #143667)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 15 10:14:43 PDT 2025


================
@@ -59,7 +59,7 @@ constexpr bool test() {
 
   {
     //  bidi
-    int buffer[2] = {1, 2};
+    int buffer[3] = {1, 2, 3};
----------------
philnik777 wrote:

Ah, shit. You can't actually get the iterator. I think this is fine as-is.

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


More information about the libcxx-commits mailing list