[clang] [clang][Sema] Recheck array size once the element type is complete (PR #219817)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 10 21:46:15 PDT 2026


================
@@ -0,0 +1,55 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-linux-gnu %s
----------------
shafik wrote:

We have `array-size.c` test either we should either find a way to merge these two sets of tests or create an `array-size.cpp` test. 

I would note this also results in some `err_array_too_large` diagnostics as well.

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


More information about the cfe-commits mailing list