]> granicus.if.org Git - clang/commit
[arcmt] In GC, handle (assign) @properties.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 7 Nov 2011 18:46:46 +0000 (18:46 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 7 Nov 2011 18:46:46 +0000 (18:46 +0000)
commitb0e1e121b32a9a04b39f1b77b3068bce2f3be05a
tree3c37fc42b2dcb5f13a17e6659028d7c19665333e
parentbf8455c56cc5e328c31a2b56f5587cd0873ba0ae
[arcmt] In GC, handle (assign) @properties.

-Move __strong/__weak added to a property type to the property attribute,
e.g.  "@property (assign) __weak Foo *prop;" --> "@property (weak) Foo *prop;"

-Remove (assign) in a property so that it becomes strong-by-default in ARC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143979 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ARCMigrate/TransGCAttrs.cpp
lib/ARCMigrate/TransProperties.cpp
lib/ARCMigrate/Transforms.cpp
lib/ARCMigrate/Transforms.h
test/ARCMT/GC.m
test/ARCMT/GC.m.result