aaron.ballman added a comment. In D137240#3908229 <https://reviews.llvm.org/D137240#3908229>, @tbaeder wrote:
> Oh, this doesn't work: > > void test_alignas_operand() { > alignas(8) char dummy; > static_assert(__alignof(dummy) == 8); > } That's interesting! Based on the code, I would have thought that should work (you have support for getting the preferred alignment). I'm curious to see what fixes it! CHANGES SINCE LAST ACTION https://reviews.llvm.org/D137240/new/ https://reviews.llvm.org/D137240 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits