Attempt to not place ownership qualifiers on the result type
authorJohn McCall <rjmccall@apple.com>
Fri, 1 Mar 2013 07:58:16 +0000 (07:58 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 1 Mar 2013 07:58:16 +0000 (07:58 +0000)
commit73fc0385deb7acda26e18b2baf92916d0a089647
treebfc3030147b830a6bf520771033bac414b1f6223
parent4a8a015f131b27c58e802df6c844c7e2ce35a9ab
Attempt to not place ownership qualifiers on the result type
of block declarators.  Document the rule we use.

Also document the rule that Doug implemented a few weeks ago
which drops ownership qualifiers on function result types.

rdar://10127067

llvm-svn: 176336
clang/docs/AutomaticReferenceCounting.rst
clang/include/clang/Sema/DeclSpec.h
clang/lib/Sema/SemaType.cpp
clang/test/SemaObjC/arc-objc-lifetime.m