[clang] [Clang]Preserve array information when reconstructing LValues (#223064) (PR #230599)

Aditya Roy Chowdhury via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 24 21:31:15 PDT 2026


================
@@ -1543,3 +1544,32 @@ namespace GH197403 {
   }
   static_assert(test() == 0);
 }
+
+namespace GH223064 {
----------------
adiroy28852 wrote:

Added regression tests for member arrays and nested arrays. The tests exercise the cast through member[0].item and nested[0]. 

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


More information about the cfe-commits mailing list