[PATCH] D133711: [Sema] Reject array element types whose alignments are larger than their sizes

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 13 09:06:22 PDT 2022


rnk added a comment.

Usually the solution is to round up the size to the alignment. Can you provide godbolt examples of what GCC and MSVC do?


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