]> granicus.if.org Git - clang/commit
Merge block/function pointer types with objc's __weak
authorFariborz Jahanian <fjahanian@apple.com>
Mon, 8 Feb 2010 21:09:39 +0000 (21:09 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Mon, 8 Feb 2010 21:09:39 +0000 (21:09 +0000)
commit15ced59e27cdc4c4978b9422ca5f8805f7f64b64
treedeac1cc391e0da9dc034e011c910f2aa89ec86f2
parent089459a16bf7e9cd10617d1fac5ec0240a0a1ee6
Merge block/function pointer types with objc's __weak
attribute properly and avoid bogus warning. This is
an objective-c fix only. objective-c++ follows different code
pass and requires separate fix (which will come at a later time).
Fixes radar 7214820.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95571 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp
test/SemaObjC/gc-attr-block-ivar.m [new file with mode: 0644]
test/SemaObjC/objc2-merge-gc-attribue-decl.m