Karthikdhondi wrote: > This fix only handles pointer-to-VLA. It should also handle: > > 1. Direct VLA captures: `int arr[n]` (this might already be working - can > you please check?). > 2. References to VLAs: `int (&ref)[n]` and `int (&&ref)[n]` (as Aaron > mentioned). > 3. Multidimensional cases: `int (*p)[n][m]` > > Please add test for each scenario.
As noted, Direct VLA captures are already working fine. To ensure the test coverage I have added a testcase for the same. https://github.com/llvm/llvm-project/pull/182480 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
