vsapsai added a comment. Previous discussion on the mailing list can be found at http://lists.llvm.org/pipermail/cfe-dev/2017-September/055548.html The implementation is not exactly like it was discussed, it has some changes.
There is another case when extra ivar is added at the end, it is for bitfields. But bitfields aren't compatible with flexible array members so I decided not to include them in tests. I separated CodeGen change in a separate patch that can be found here <https://reviews.llvm.org/D38774>. https://reviews.llvm.org/D38773 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits