[arcmt] Remove the "it is not safe to remove an unused 'autorelease' message" ARC
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 17 May 2012 18:16:05 +0000 (18:16 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 17 May 2012 18:16:05 +0000 (18:16 +0000)
commit3d6439517c37d54d48dcf99e389020efa52dc899
tree9c7446e22a86809f3e68c3be66c22d96d8d84b17
parent27489fe014e69fa4122b45934665b7d32a6ab9f7
[arcmt] Remove the "it is not safe to remove an unused 'autorelease' message" ARC
migration error.

This is more trouble that it is worth; autoreleasing a value without holding on it
is a valid use-case, we should not "punish" correct code for the minority of
broken/fragile programs that depend on the behavior of  -autorelease.

rdar://9914061

llvm-svn: 156999
clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
clang/test/ARCMT/checking.m