No worries, that’s fine. At least I have time to improve the patch.
Here is the new version, final one, I’d say.
I renamed the patch to reflect what it really does.

In this version:

 - support for NSRange
 - support for NS/CG Rect, Size, Point
 - support for Nonretained Object (+ valueWithNonretainedObject:(id)obj )
 - support for Pointer (+ valueWithPointer:(const void *)pointer )
 - CodeGenObjC tests, both ARC and non-ARC
 - SemaObjC tests
 - cleanups and fixes based on previous comments

P.S. Previously I mentioned support for structures based on method name 
(valueWith<StructName>), I don’t know is it a good idea or not and still expect 
to get any feedback, if it’s possible of course. Otherwise, I would stick to 
current implementation.
-- 
AlexDenisov
Software Engineer, https://github.com/AlexDenisov

Attachment: nsvalue_boxed_expressions.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to