]> granicus.if.org Git - clang/commit
objective-C arc: ns_returns_retained is a type attribute in ARC,
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 28 Aug 2012 22:26:21 +0000 (22:26 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 28 Aug 2012 22:26:21 +0000 (22:26 +0000)
commita23bd4cec36d7f29065418f84ef48395fcbe6254
tree7977c7af49fbf8d271946464a9f22b4c7067aaa6
parent1588cb8e137fa7c8f12e5a6fd1b64eee05a7e916
objective-C arc: ns_returns_retained is a type attribute in ARC,
and when used in property type declaration, is handled as type
attribute. Do not issue the warning when declaraing the property.
// rdar://12173491

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162801 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclAttr.cpp
test/SemaObjC/arc-decls.m