]> granicus.if.org Git - clang/commit
objc-arc: warn when assigning retained object to
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 6 Jul 2012 21:09:27 +0000 (21:09 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 6 Jul 2012 21:09:27 +0000 (21:09 +0000)
commitbd2e27e8484c1d378c9c9d089f61ff496627f391
treea4dae25b53481dd9943c7fbd1360d50c82ec1c76
parent4d3db4eb6caa49a7cdbfe1798728ce4b23cd0b53
objc-arc: warn when assigning retained object to
a 'weak' property just as we do the same for
'weak' variables. // rdar://11814185

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159859 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaChecking.cpp
test/SemaObjC/arc.m