Commits

Jordan Rose committed 82c8d9b3dc6
[PrintAsObjC] Preserve NSUInteger in overridden decls when easy to do. If a property, method, or subscript overrides an imported property, method, or subscript that was originally declared using NSUInteger as a property, parameter, or return type, print the subclass's member using "NSUInteger" in the generated header to prevent override warnings. This doesn't handle all cases--in particular, it doesn't handle the NSUInteger being nested inside a larger type--but it does get the easy ones correct. I think the easiest way to be more correct would be to mark NSUInteger-as-Int somehow using a distinct type. (Hidden attribute? Another typealias? Not sure.) rdar://problem/19321126 Swift SVN r24771