commit | 00b2bbb7bb5a02306095db2b39d7bf9bc12df90d | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Thu Nov 19 02:28:03 2015 +0000 |
committer | John McCall <rjmccall@apple.com> | Thu Nov 19 02:28:03 2015 +0000 |
tree | 44544c17e94d76a965ffa1a0f6829533ddec5b1d | |
parent | d80218fa4221c76fa1b822a406253921d4c7f8fc [diff] |
Don't actually add the __unsafe_unretained qualifier in MRC; driving a canonical difference between that and an unqualified type is a really bad idea when both are valid. Instead, remember that it was there in a non-canonical way, then look for that in the one place we really care about it: block captures. The net effect closely resembles the behavior of a decl attribute, except still closely following ARC's standard qualifier parsing rules. llvm-svn: 253534