rjmccall added a comment. We added the `unsafe_unretained` property attribute as part of ARC because we were introducing `__unsafe_retained` as a type qualifier and we wanted all the type qualifiers to have corresponding attribute spellings. `assign` is the much-older attribute, and its non-owning behavior was widely understood. In fact, we briefly considered naming the qualifier `__assign`, but we quickly decided that that we wanted a more explicit name for the ARC age.
I like the idea of this warning, but I need to float it to our internal Objective-C language group before we can accept it. Repository: rC Clang https://reviews.llvm.org/D44539 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits