]> granicus.if.org Git - clang/commit
Protect the values of array and dictionary literals from the
authorJohn McCall <rjmccall@apple.com>
Thu, 4 Apr 2013 00:20:38 +0000 (00:20 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 4 Apr 2013 00:20:38 +0000 (00:20 +0000)
commit527842f97b684831de2b1a455649131ed381ece4
treed0afc6daf5a438c0ce684163afc53dc816d2a98d
parente145bfd06c7eaf0cff0f7d825d1c6244127c26df
Protect the values of array and dictionary literals from the
ARC optimizer while they're held in local unsafe buffers.

Based on a patch by Jesse Rusak!

rdar://13573224

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178721 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjC.cpp
test/CodeGenObjC/arc-literals.m