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

Yan Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 18 14:18:38 PDT 2018


Wizard added a comment.

Is there any case for property of ObjC types that we should use `unsafe_unretained` or `assign` rather than `weak`? In my understanding, `weak` is for properties of ObjC types as the replacement of `unsafe_unretained` and `assign` is for properties of primitive types.


Repository:
  rC Clang

https://reviews.llvm.org/D44539





More information about the cfe-commits mailing list