[PATCH] Implicitly convert C++ wrappers to ObjC objects in @synchronized.

Grant Paul grant at grantpaul.com
Sat Aug 2 18:17:57 PDT 2014


Hi,

Attached is a patch to allow implicitly converting C++ wrapper objects in
@synchronized. Many projects (Chromium, MobileCydia, etc) use RAII-based
handles for Objective-C objects, but are not able to use those handles in
@synchronized without an explicit cast.

Thanks,

Grant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140802/8b107389/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: synchronized.patch
Type: application/octet-stream
Size: 2317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140802/8b107389/attachment.obj>


More information about the cfe-commits mailing list