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

jahanian fjahanian at apple.com
Mon Aug 27 12:50:59 PDT 2012


On Aug 27, 2012, at 12:19 PM, Joseph Ranieri wrote:

> 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.

Rewriter part lgtm.

- Fariborz

> 
> -- Joe Ranieri
> <objc_sync.diff><objc_sync_rewriter.diff>_______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list