[cfe-commits] [PATCH] objc_sync_enter and objc_sync_exit function signatures

Joseph Ranieri joe at alacatialabs.com
Mon Aug 27 12:19:38 PDT 2012


While browsing the implementation of @synchronized, I noticed that the
signatures in Clang for objc_sync_enter and objc_sync_exit didn't
match the signatures in the objc4 sources on opensource.apple.com
(http://www.opensource.apple.com/source/objc4/objc4-532/runtime/objc-sync.h).
Attached is a patch that updates CGObjCMac to correct the return type.
The rewriter also has this problem, but since I am less familiar with
the rewriter I have attached it as a separate patch.

-- Joe Ranieri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: objc_sync.diff
Type: application/octet-stream
Size: 3265 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120827/62bcf76b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: objc_sync_rewriter.diff
Type: application/octet-stream
Size: 1820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120827/62bcf76b/attachment-0001.obj>


More information about the cfe-commits mailing list