]> granicus.if.org Git - clang/commit
[arcmt] Rewrite uses of Block_copy/Block_release macros.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 3 Jan 2013 03:17:17 +0000 (03:17 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 3 Jan 2013 03:17:17 +0000 (03:17 +0000)
commit5d2faa41bc63a2a29535ae3dbbc99daabf14ea2f
tree29e76dc61bf421354bccb9e21a4a2d80129992d7
parentbcde478a5f2600718a225eade94549c9792166b8
[arcmt] Rewrite uses of Block_copy/Block_release macros.

  c = Block_copy(b);
  Block_release(c);
 ---->
  c = [b copy];
  <removed>

rdar://9408211

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171454 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ARCMigrate/TransUnbridgedCasts.cpp
test/ARCMT/Common.h
test/ARCMT/block_copy_release.m [new file with mode: 0644]
test/ARCMT/block_copy_release.m.result [new file with mode: 0644]