[PATCH] Test that an ObjC property of type void at least doesn't crash

Scott s at chikachow.org
Wed Jan 15 13:16:27 PST 2014


On 14 Jan 2014, at 4:16 am, Jordan Rose <jordan_rose at apple.com> wrote:
> Is this even meaningful? Should we at least warn on a void property?

I’ve used it (sparingly) as a cheeky way to document a keypath that provides “edge trigger” notifications via KVO.
It’s pretty hard to do by accident now, with ivar auto-synthesis complaining pretty quickly.

-Scott



More information about the cfe-commits mailing list