]> granicus.if.org Git - clang/commit
ObjectiveC migration: tweak setting of lifetime attribute
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 6 Aug 2013 18:06:23 +0000 (18:06 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 6 Aug 2013 18:06:23 +0000 (18:06 +0000)
commitfa45cb3bf95a10d6c3b1ab55d60dae28e8a57cf4
tree47f168d567abcdabf0c84d5fb9d517f26db81140
parentb7fc2ad012ea4ff5fb8c76a5b7d2589c12e50cbd
ObjectiveC migration: tweak setting of lifetime attribute
on @property migration. Don't set unsafe_unretained
on non-object properties. Set 'retain' on strong
properties. Makecertain properties with specific
names unsafe_unretained as well.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187810 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ARCMigrate/ObjCMT.cpp
test/ARCMT/objcmt-property.m
test/ARCMT/objcmt-property.m.result