]> granicus.if.org Git - clang/commit
objc++-arc: diagnose assignment/cast of a weak-unavailable
authorFariborz Jahanian <fjahanian@apple.com>
Thu, 7 Jul 2011 23:04:17 +0000 (23:04 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Thu, 7 Jul 2011 23:04:17 +0000 (23:04 +0000)
commit7a084ec568f8336ec6f10011d0118a6b19e253cb
tree1c49bba913aae0ad3cdb8d6187df00c335b06740
parent7c9adf9113b1d1dfeca1d265a7c3bedb3671cfab
objc++-arc: diagnose assignment/cast of a weak-unavailable
object to a __weak object/type. // rdar://9732636.
One item is yet todo.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134655 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaCXXCast.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp
test/SemaObjCXX/arc-unavailable-for-weakref.mm [new file with mode: 0644]