ahatanak added a comment. Thanks for reporting the bug.
`Sema::CheckAllocatedType` can be called when the allocated type isn't an array, so `checkArrayElementAlignment` shouldn't be called in that function. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D133711/new/ https://reviews.llvm.org/D133711 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits