[cfe-commits] r135382 - in /cfe/trunk: lib/ARCMigrate/TransAPIUses.cpp test/ARCMT/nsdata.m test/ARCMT/nsdata.m.result

Jordy Rose jediknil at belkadan.com
Mon Jul 18 19:19:13 PDT 2011


 Is this attribute public? Should it be added to 
 AutomaticReferenceCounting.html?


 On Mon, 18 Jul 2011 07:44:50 -0000, Argyrios Kyrtzidis 
 <akyrtzi at gmail.com> wrote:
> Author: akirtzidis
> Date: Mon Jul 18 02:44:50 2011
> New Revision: 135382
>
> URL: http://llvm.org/viewvc/llvm-project?rev=135382&view=rev
> Log:
> [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





More information about the cfe-commits mailing list