]> granicus.if.org Git - clang/commit
[arcmt] At an unbridged cast error, if we're returning a load-of-ivar from a +0 method,
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 7 Jun 2012 00:44:06 +0000 (00:44 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 7 Jun 2012 00:44:06 +0000 (00:44 +0000)
commit76a5245d7fb558625453ebe2281ee0bc9c93c245
treef1d84c4ae755e8b86c4b9008be6700542340ae61
parente14da79c7b1c336b72e6a4548f53b1a9534f7e0d
[arcmt] At an unbridged cast error, if we're returning a load-of-ivar from a +0 method,
automatically insert a __bridge cast.

radar://11560638

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158127 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ARCMigrate/TransAutoreleasePool.cpp
lib/ARCMigrate/TransRetainReleaseDealloc.cpp
lib/ARCMigrate/TransUnbridgedCasts.cpp
lib/ARCMigrate/TransUnusedInitDelegate.cpp
lib/ARCMigrate/Transforms.h
test/ARCMT/nonobjc-to-objc-cast-2.m
test/ARCMT/nonobjc-to-objc-cast.m
test/ARCMT/nonobjc-to-objc-cast.m.result