[PATCH] D133711: [Sema] Reject array element types whose sizes aren't a multiple of their alignments

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 26 08:34:12 PDT 2022


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



More information about the cfe-commits mailing list