akash-manna-sky wrote:

> Is this specifically a C problem?

I thought it was C problem. But C++ had it also, the bound was never a 
full-expression. Both parsers and `TransformDependentSizedArrayType` now go 
through `Sema::ActOnArrayBound`; class-typed bounds are left to 
`BuildArrayType`. Your example is a constant array now, and I added the test.


https://github.com/llvm/llvm-project/pull/244274
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to