[PATCH] D38773: [Sema] Add support for flexible array members in Obj-C.

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 10 17:36:33 PDT 2017


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





More information about the cfe-commits mailing list