commit | 05fdf9bc3f5089db291484e4ad9880aa432db9f4 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Jul 18 07:44:50 2011 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Jul 18 07:44:50 2011 +0000 |
tree | f708583268b0830369101e6288244296a10ea560 | |
parent | fd10398c10ffdcbdeb1e3e299c74d70e689f503c [diff] |
[arcmt] When a NSData's 'bytes' family of methods are used on a local var, add __attribute__((objc_precise_lifetime)) to make sure that the object (and its data) will not get released before the var goes out-of-scope. rdar://9206226 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135382 91177308-0d34-0410-b5e6-96231b3b80d8