mahtohappy wrote: // If no array size was specified, but the new expression was // instantiated with an array type (e.g., "new T" where T is // instantiated with "int[4]"), extract the outer bound from the // array type as our array size. We do this with constant and // dependently-sized array types. ``` typedef TYPE TArray[8]; TArray x; ``` this is the same case. In `TreeTransform.h` we calculate the ArraySize earlier so that condition was failing.
https://github.com/llvm/llvm-project/pull/83124 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits