Fixes an assertion failure when ivar is a struct containing incomplete
array. Also completes support for direct flexible array members.
rdar://problem/21054495
Differential D38774
[CodeGen] Add support for IncompleteArrayType in Obj-C ivars. vsapsai on Oct 10 2017, 5:33 PM. Authored by
Details Fixes an assertion failure when ivar is a struct containing incomplete rdar://problem/21054495
Diff Detail
Event TimelineComment Actions To save reviewers some time. Incomplete array type is not the same as for zero-sized array, it is c"^c\00" while for zero-sized array it is c"[0c]\00". Don't know if it matters, I haven't found any difference in behaviour. Though maybe I wasn't looking in the right place.
Comment Actions
Decided to keep in test only cases with typedefs because test coverage is the
|