[PATCH] D44539: [Sema][Objective-C] Add check to warn when property of objc type has assign attribute

Ben Hamilton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 20 12:54:26 PDT 2018


benhamilton added a comment.

I think the problem is there are valid places to use assign on object types (especially delegates).

There are a lot of special cases to deal with here, and it's really up to each team to decide the rules for when assign on object types are OK, so I don't think a compiler warning is appropriate.


Repository:
  rC Clang

https://reviews.llvm.org/D44539





More information about the cfe-commits mailing list