GCC supports power-of-2 size structures for the arguments. Clang supports fewer than GCC. But Clang always crashes for the unsupported cases. This patch adds sema checks to do the diagnosts to solve these crashes. Reviewed By: jyu2 Differential Revision: https://reviews.llvm.org/D107141
37 KiB
37 KiB