-Fix mistake in ASTContext::getInnerObjCOwnership noticed by Doug
commit28445f0b62f6aed851ff87ce64d9b19200d3211f
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 1 Jul 2011 23:01:46 +0000 (1 23:01 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 1 Jul 2011 23:01:46 +0000 (1 23:01 +0000)
treed94f8d3fe0d0a3b41a1473e3d54be378efc3bf82
parentdca5226598097add5d86d57b227aa31df27f0ba4
-Fix mistake in ASTContext::getInnerObjCOwnership noticed by Doug
-Remove unnecessary 'return'.
-Remove unnecessary 'if' check (llvm_unreachable make sure attrStr will be non-null)
-Add a test of transferring ownership to a reference cast type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134285 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp
lib/Sema/SemaType.cpp
test/SemaObjCXX/arc-type-conversion.mm